[wp-trac] [WordPress Trac] #14466: Widget position uses footer position styling

WordPress Trac wp-trac at lists.automattic.com
Tue Nov 16 15:04:44 UTC 2010


#14466: Widget position uses footer position styling
-------------------------------------------------------+--------------------
 Reporter:  newkind                                    |        Owner:          
     Type:  enhancement                                |       Status:  reopened
 Priority:  normal                                     |    Milestone:  3.1     
Component:  UI                                         |      Version:  3.0     
 Severity:  normal                                     |   Resolution:          
 Keywords:  ui footer widget position style has-patch  |  
-------------------------------------------------------+--------------------
Changes (by batmoo):

 * cc: batmoo@… (added)
  * keywords:  ui footer widget position style needs-patch => ui footer
               widget position style has-patch


Comment:

 Patch attached. Prefixes the id with 'sidebar-' and strips it out before
 any related AJAX calls. (I was originally thinking to prefix it with
 'sidebar-controls-' to be more specific but that seems far too verbose).
 Sample register_sidebar calls:

 {{{
 #!php
 register_sidebar( array(
         'name' => __( 'Footer!' ),
         'id' => 'footer',
         'description' => 'This sidebar causes major problems!',
 ) );

 register_sidebar( array(
         'name' => __( 'Sidebar!' ),
         'id' => 'sidebar-sidebar',
         'description' => 'This sidebar could cause major problems!',
 ) );
 }}}

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


More information about the wp-trac mailing list