[wp-trac] [WordPress Trac] #40072: URL from wp_get_attachment_image_src on multisite is wrong

WordPress Trac noreply at wordpress.org
Thu Sep 2 14:22:17 UTC 2021


#40072: URL from wp_get_attachment_image_src on multisite is wrong
-------------------------------------+------------------------------
 Reporter:  contremaitre             |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  General                  |     Version:  4.7.3
 Severity:  major                    |  Resolution:
 Keywords:  needs-patch 2nd-opinion  |     Focuses:  multisite
-------------------------------------+------------------------------

Comment (by gchtr):

 I just ran into this issue as well and made the same observation as @ideag
 when I wanted to load an image src from another blog using
 `switch_to_blog()`.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/40072#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list