[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
       
    Wed Mar 16 03:20:42 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.5
Component:  Media                       |     Version:  4.4
 Severity:  normal                      |  Resolution:
 Keywords:  needs-unit-tests has-patch  |     Focuses:
----------------------------------------+------------------------
Comment (by joemcgill):
 [attachment:35390.3.patch] is exactly like [attachment:35390.2.patch] but
 adds a check for `DOING_AJAX` to avoid setting an editor context during an
 `admin_ajax()` process.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35390#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
    
    
More information about the wp-trac
mailing list