[wp-trac] [WordPress Trac] #17078: functions not compatible

WordPress Trac wp-trac at lists.automattic.com
Thu Apr 7 10:06:54 UTC 2011


#17078: functions not compatible
--------------------------+-----------------------------
 Reporter:  lanceo        |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 This needs a small fix:

 Function is_active_sidebar( $index)  converts $index to a string

 then uses wp_get_sidebars_widgets() to see if the sidebar is active

 ..but keys in the array wp_get_sidebars_widgets() generates can be
 integers if the ID's of the registered sidebars are integers

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


More information about the wp-trac mailing list