[wp-trac] [WordPress Trac] #11021: Multiple Size Options Selected by Default

WordPress Trac wp-trac at lists.automattic.com
Sat Oct 24 17:00:15 UTC 2009

#11021: Multiple Size Options Selected by Default
 Reporter:  miqrogroove   |       Owner:       
     Type:  defect (bug)  |      Status:  new  
 Priority:  normal        |   Milestone:  2.9  
Component:  Media         |     Version:  2.8.4
 Severity:  normal        |    Keywords:       

Comment(by miqrogroove):

 Rather than a plugin, I would suspect it's to do with this nonsense in wp-

                         if ( $checked && !$enabled )
                                 $checked = '';
                         // if $checked was not specified, default to the
 first available size that's bigger than a thumbnail
                         if ( !$checked && $enabled && 'thumbnail' != $size
                                 $checked = $size;

 The $checked value is being cleared when Full size is not available, thus
 WP is indeed instructing the browser to check multiple sizes.

Ticket URL: <http://core.trac.wordpress.org/ticket/11021#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list