[wp-trac] [WordPress Trac] #6071: register_sidebars should allow name to be an array

WordPress Trac wp-trac at lists.automattic.com
Sun Mar 2 18:06:46 GMT 2008


#6071: register_sidebars should allow name to be an array
---------------------------+------------------------------------------------
 Reporter:  AaronCampbell  |       Owner:  anonymous              
     Type:  defect         |      Status:  new                    
 Priority:  normal         |   Milestone:  2.6                    
Component:  General        |     Version:                         
 Severity:  normal         |    Keywords:  has-patch needs-testing
---------------------------+------------------------------------------------
 register_sidebars allows you to give a name with a %d in it, but you can't
 register multiple sidebars with unique names.  It seems like you should be
 able to pass an array of names to be used, like this:
 {{{register_sidebars(array('name'=>array('left','right')));}}}
 Which would create two sidebars, one named left, and one named right.

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


More information about the wp-trac mailing list