[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
Thu Dec 6 03:20:38 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 commit  |
--------------------------------------------+-----------------------

Comment (by nacin):

 More test code:
 {{{
 add_filter( 'image_size_names_choose', function( $sizes ) {
     $sizes['post-thumbnail'] = 'Post Thumbnail';
     return $sizes;
 } );
 }}}

 Constrain will kick in when a post thumbnail for a theme is larger than
 its content width.

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


More information about the wp-trac mailing list