[wp-trac] [WordPress Trac] #22738: 3.5 Media: Correct display of dimensions for large-size images in size dropdown

WordPress Trac noreply at wordpress.org
Wed Dec 5 23:06:36 UTC 2012


#22738: 3.5 Media: Correct display of dimensions for large-size images in size
dropdown
-------------------------------------+-----------------------
 Reporter:  jond3r                   |       Owner:  nacin
     Type:  defect (bug)             |      Status:  assigned
 Priority:  normal                   |   Milestone:  3.5
Component:  Media                    |     Version:  trunk
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |
-------------------------------------+-----------------------
Changes (by nacin):

 * keywords:  has-patch => has-patch needs-testing
 * milestone:  Awaiting Review => 3.5


Comment:

 I think the cleanest approach here is for a $context parameter for
 image_constrain_size_for_editor(). 'display' or 'edit', with the default
 being 'display' on the frontend and 'edit' in the admin.
 [attachment:22738.3.diff]

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/22738#comment:18>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list