[wp-trac] [WordPress Trac] #36672: wp_get_attachment_image_src return URL with blog id in network setup
WordPress Trac
noreply at wordpress.org
Tue Apr 26 07:19:18 UTC 2016
#36672: wp_get_attachment_image_src return URL with blog id in network setup
--------------------------+-----------------------------
Reporter: ahriad | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: 4.5
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
Using the function wp_get_attachment_image_src return the URL with
'blogs.dir' and blog id.
Example : http://example.org/wp-
content/blogs.dir/41/files/2016/04/image.png
instead the function supposed to return the url w/o '/blogs.dir/41' part.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36672>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list