[wp-trac] [WordPress Trac] #13019: Allow multiple category widget dropdowns

WordPress Trac wp-trac at lists.automattic.com
Wed Oct 27 10:05:05 UTC 2010


#13019: Allow multiple category widget dropdowns
-------------------------+--------------------------------------------------
 Reporter:  t31os_       |       Owner:  azaozz                 
     Type:  enhancement  |      Status:  new                    
 Priority:  low          |   Milestone:  Future Release         
Component:  Widgets      |     Version:  3.0                    
 Severity:  minor        |    Keywords:  has-patch needs-testing
-------------------------+--------------------------------------------------
Changes (by nacin):

  * milestone:  Awaiting Review => Future Release


Comment:

 Instead of spitting out the same JS multiple times, I'm wondering if this
 would be a better take:
  * One JS function, takes one argument, the ID of the dropdown.
  * static variable in widget() keeps track of how many times it's been
 called. If more than once, the JS function is not reprinted, and only the
 function call and event assignment is.

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


More information about the wp-trac mailing list