Skip to content

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