[wp-trac] [WordPress Trac] #38906: wp_get_attachment_image_src() sometimes gives incorrect width and height values

WordPress Trac noreply at wordpress.org
Thu May 19 11:50:32 UTC 2022


#38906: wp_get_attachment_image_src() sometimes gives incorrect width and height
values
--------------------------+-----------------------------
 Reporter:  pressupinc    |       Owner:  (none)
     Type:  defect (bug)  |      Status:  reviewing
 Priority:  normal        |   Milestone:  Future Release
Component:  Media         |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  close         |     Focuses:  administration
--------------------------+-----------------------------

Comment (by antonvlasenko):

 @pressupinc
 I'd like to know which WordPress theme you used during the testing, as it
 seems that `$content-width` value depends on a particular theme.

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


More information about the wp-trac mailing list