[wp-trac] [WordPress Trac] #4594: Widgets API to check for active sidebars

WordPress Trac wp-trac at lists.automattic.com
Sat Jul 7 22:39:20 GMT 2007


#4594: Widgets API to check for active sidebars
----------------------------+-----------------------------------------------
 Reporter:  filosofo        |       Owner:  anonymous          
     Type:  enhancement     |      Status:  new                
 Priority:  normal          |   Milestone:  2.3 (trunk)        
Component:  Administration  |     Version:  2.3                
 Severity:  normal          |    Keywords:  widgets sidebar api
----------------------------+-----------------------------------------------
 There should be a way to check if particular sidebar is in use, because a
 theme developer might want to change the markup in the presence of a
 sidebar actually being used.

 My patch adds a "is_active_sidebar" function, to which one can pass a
 sidebar name, id, or number to return a boolean value reflecting whether
 that sidebar is actually in use.

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


More information about the wp-trac mailing list