[wp-trac] [WordPress Trac] #7528: Don't default to an unselectable image size

WordPress Trac wp-trac at lists.automattic.com
Sat Aug 16 07:31:31 GMT 2008


#7528: Don't default to an unselectable image size
------------------------+---------------------------------------------------
 Reporter:  tellyworth  |       Owner:  anonymous
     Type:  defect      |      Status:  new      
 Priority:  normal      |   Milestone:  2.6.1    
Component:  General     |     Version:           
 Severity:  normal      |    Keywords:  has-patch
------------------------+---------------------------------------------------
 #7520 [8653] lets you specify a default image size.  If you set a default
 of 'medium', and find an image in the media library tab that doesn't have
 an intermediate of that size (a very small image for example), the
 'medium' choice will be selected even though it is disabled.  Same for
 'large'.

 The enclosed patch makes it skip the disabled sizes and choose the next
 largest available one (usually 'full', which is always available).

-- 
Ticket URL: <http://trac.wordpress.org/ticket/7528>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list