Media Library, broken links
-
Updated a dev site to 3.9. Tried adding an image to a page via the media library and the resulting syntax has a leading slash that results in a broken link. Same behavior with other types of media (text files, etc.)
Also, before this release, adding an attachment would result in the full path getting added, now it’s just a relative path (with the incorrect forward slash).
Is anyone else having this problem?
Example (I can’t include a link to the site because it contains proprietary customer data):
Here’s what the code looks like when I insert it into the page (Attachment Display Settings set to Link to NONE):
<img class="alignleft size-full wp-image-11082" src="/wp-content/uploads/questionmark.png" alt="questionmark" width="300" height="300" />
If I manually delete the first slash so that the code looks like this, the image displays fine:
<img class="alignleft size-full wp-image-11082" src="wp-content/uploads/questionmark.png" alt="questionmark" width="300" height="300" />
Here’s how it looked before I upgrade to 3.9:
<img class="alignleft size-full wp-image-11082" src="https://www.myserver.com/sitename/wp-content/uploads/questionmark.png" alt="questionmark" width="300" height="300" />
- The topic ‘Media Library, broken links’ is closed to new replies.