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

WordPress Trac wp-trac at lists.automattic.com
Fri Dec 12 23:17:08 GMT 2008


#8511: Mixing up sidebars
---------------------+------------------------------------------------------
 Reporter:  dcole07  |        Owner:     
     Type:  defect   |       Status:  new
 Priority:  normal   |    Milestone:  2.8
Component:  Themes   |      Version:  2.7
 Severity:  major    |   Resolution:     
 Keywords:           |  
---------------------+------------------------------------------------------
Comment (by dcole07):

 The description above is wrong. I've looked into it further. The problem
 is that get_sidebar() does not call the dynamic_sidebar() without the
 theme developer telling it to do so.

 I think get_sidebar() should make an attempt to get dynamic_sidebar if it
 fails to find the sidebar-{$name}.php file, but before it defaults to a a
 generic sidebar.

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


More information about the wp-trac mailing list