[wp-trac] [WordPress Trac] #31667: URL from wp_get_attachment_image_src includes "sites/1" after using switch_to_blog(1)
WordPress Trac
noreply at wordpress.org
Thu Apr 9 14:29:46 UTC 2015
#31667: URL from wp_get_attachment_image_src includes "sites/1" after using
switch_to_blog(1)
-------------------------------+------------------------------
Reporter: leedo | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Upload | Version: 4.1.1
Severity: normal | Resolution:
Keywords: reporter-feedback | Focuses: multisite
-------------------------------+------------------------------
Comment (by leedo):
Actually, looking closer at this, I'm seeing that cause. In our
sunrise.php we're always setting $current_site->blog_id to the ID of the
currently selected blog. Sorry for the confusion, probably safe to close
this ticket.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31667#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list