#36672 closed defect (bug) (worksforme)
wp_get_attachment_image_src return URL with blog id in network setup
Reported by: | ahriad | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Media | Keywords: | |
Focuses: | multisite | Cc: |
Description
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.
Change History (4)
This ticket was mentioned in Slack in #core-media by desrosj. View the logs.
7 years ago
#2
follow-up:
↓ 3
@
7 years ago
- Focuses multisite added
- Keywords reporter-feedback added
- Version 4.5 deleted
#3
in reply to:
↑ 2
@
7 years ago
- Resolution set to worksforme
- Status changed from new to closed
Replying to desrosj:
@ahriad can you provide some more details for replicating this behavior? What is your setup like (are you on a fresh WordPress install)? Which site are you on? What type of multisite are you running (subdomain or subdirectory)?
Working fine now, didn't notice which version fixed it.
Note: See
TracTickets for help on using
tickets.
@ahriad can you provide some more details for replicating this behavior? What is your setup like (are you on a fresh WordPress install)? Which site are you on? What type of multisite are you running (subdomain or subdirectory)?