[wp-trac] [WordPress Trac] #22919: Gallery shortcode columns attribute present, even when default

WordPress Trac noreply at wordpress.org
Wed Jan 2 23:08:14 UTC 2013


#22919: Gallery shortcode columns attribute present, even when default
------------------------------+--------------------------
 Reporter:  kovshenin         |       Owner:  koopersmith
     Type:  defect (bug)      |      Status:  reviewing
 Priority:  normal            |   Milestone:  3.5.1
Component:  Media             |     Version:  3.5
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |
------------------------------+--------------------------

Comment (by adamsilverstein):

 i would probably agree, but i think the idea is to insert a shortcode that
 contains only information that's required. i agree this ties the defaults
 down, changing them would break any shortcodes without a hard coded value.

 by extension, i think your logic would suggest inserting the default
 values for all options when inserting the gallery in the first place,
 which would be pretty excessive.

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


More information about the wp-trac mailing list