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

WordPress Trac noreply at wordpress.org
Thu May 12 22:15:07 UTC 2022


#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 decadx):

 I got this issue too, happens when using switch_to_blog() and try to call
 wp_get_attachment_url.

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


More information about the wp-trac mailing list