[wp-trac] [WordPress Trac] #8511: Mixing up sidebars

WordPress Trac wp-trac at lists.automattic.com
Sat Dec 6 20:43:32 GMT 2008


#8511: Mixing up sidebars
---------------------+------------------------------------------------------
 Reporter:  dcole07  |       Owner:     
     Type:  defect   |      Status:  new
 Priority:  normal   |   Milestone:  2.7
Component:  Themes   |     Version:  2.7
 Severity:  major    |    Keywords:     
---------------------+------------------------------------------------------
 I have a theme with multiple sidebars. I registered these sidebars within
 different files, then had the theme's function.php include them. The
 problem comes when using the Widgets page in the dashboard. When I assign
 widgets to "Left Sidebar" and "Right Sidebar", then view the site, as a
 visitor, the widgets are in the opposite sidebar. So the Widgets page says
 "Left Sidebar", but means "Right Sidebar" and vise versa.

 The "Right Sidebar" has the value "sidebar-1" and is registered before the
 "Left Sidebar", which has the value "sidebar-2". But when they are
 displayed to visitors, the "Left Sidebar" is included in the code before
 the "Right Sidebar".

 Do sidebars actually use the name given to them when using get_sidebar();
 ?
 I guess this could be a slip-up on my part, but I've checked and I don't
 see anything wrong.

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


More information about the wp-trac mailing list