[wp-trac] [WordPress Trac] #35390: image_constrain_size_for_editor() should not affect images generated on the front end when `large` size is used.
WordPress Trac
noreply at wordpress.org
Sat May 28 15:06:35 UTC 2016
#35390: image_constrain_size_for_editor() should not affect images generated on the
front end when `large` size is used.
----------------------------------------+------------------------
Reporter: rabmalin | Owner: joemcgill
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 4.6
Component: Media | Version: 4.4
Severity: normal | Resolution:
Keywords: needs-unit-tests has-patch | Focuses:
----------------------------------------+------------------------
Changes (by joemcgill):
* milestone: Future Release => 4.6
Comment:
Moving this into the 4.6 milestone. To move this forward, Let's look into
an approach that replaces `image_constrain_size_for_editor()` with new
helper functions that is only called when preparing markup for the editor
(rather than requiring context switching) and avoids possible `is_admin()`
AJAX issues.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35390#comment:21>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list