Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attachment link fix #175

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Attachment link fix #175

wants to merge 1 commit into from

Conversation

kendafi
Copy link
Contributor

@kendafi kendafi commented Jan 8, 2020

$value contains the whole path as seen in the textarea. "Open link" href looked like /home/customer/public/wp-content/uploads/filename.jpg. Defined variable $home_path was not used anywhere. It contains the /home/customer/public/ part. We replace that with a slash in links and now links to uploaded files seem to work fine.

$value contains the whole path as seen in the textarea. "Open link" href looked like /home/customer/public/wp-content/uploads/filename.jpg. Defined variable $home_path was not used anywhere. It contains the /home/customer/public/ part. We replace that with a slash in links and now links to uploaded files seem to work fine.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant