[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 19:55:53 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
-------------------------------+------------------------------
Changes (by joemcgill):
* keywords: => reporter-feedback
* owner: => joemcgill
* status: new => reviewing
Comment:
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
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38906#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list