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

WordPress Trac noreply at wordpress.org
Tue Nov 22 21:35:01 UTC 2016


#38906: wp_get_attachment_image_src() sometimes gives incorrect width and height
values
-------------------------------+------------------------------
 Reporter:  pressupinc         |       Owner:  joemcgill
     Type:  defect (bug)       |      Status:  reviewing
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Media              |     Version:  trunk
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:  administration
-------------------------------+------------------------------

Comment (by pressupinc):

 Replying to [comment:1 joemcgill]:
 > Thanks for the report @pressupinc and welcome to Trac!
 >
 > This appears to be an issue with `image_constrain_size_for_editor()`
 being applied at an inappropriate time. Can you confirm that you're
 experiencing this issue on trunk (nightly versions) or if you're on a
 stable release (e.g., 4.6.1). If this issue is on nightlies, can you
 reproduce the same issue on previous releases or is this a change in
 behavior?
 >
 > Joe
 >
 >
 >
 >

 This is on 4.6.1. I first remember noticing it 6 months or so ago, so it's
 been an issue on various stable releases for at least that amount of time.

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


More information about the wp-trac mailing list