[wp-trac] [WordPress Trac] #14256: register_sidebar() loses track of its widgets when moved

WordPress Trac wp-trac at lists.automattic.com
Thu Jan 13 18:20:30 UTC 2011


#14256: register_sidebar() loses track of its widgets when moved
--------------------------+----------------------
 Reporter:  wjm           |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Widgets       |     Version:  3.0
 Severity:  normal        |  Resolution:  wontfix
 Keywords:                |
--------------------------+----------------------

Comment (by mdawaffe):

 We could use an option to keep track of a mapping between sidebar titles
 and generated IDs.  Whenever {{{register_sidebar()}}} is called without an
 explicit ID, check the map.  If there's an entry, use it.  If not,
 generate a unique ID and add it to the map.  Not sure how to keep the map
 from exploding after lots of theme switches.

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


More information about the wp-trac mailing list