[wp-trac] [WordPress Trac] #16539: Duplicate search widgets cause ID conflicts

WordPress Trac wp-trac at lists.automattic.com
Tue Sep 13 05:42:10 UTC 2011


#16539: Duplicate search widgets cause ID conflicts
------------------------------------+------------------------------
 Reporter:  solarissmoke            |       Owner:
     Type:  defect (bug)            |      Status:  new
 Priority:  normal                  |   Milestone:  Awaiting Review
Component:  Widgets                 |     Version:  3.0
 Severity:  normal                  |  Resolution:
 Keywords:  dev-feedback has-patch  |
------------------------------------+------------------------------

Comment (by nacin):

 The first one should probably have #searchform. That one and all
 subsequent ones should probably have .searchform (with all subsequent ones
 thus having no ID). Not sure if incremental IDs are necessary. That said,
 if we were to do it, it should be done the way ryanimel writes.

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


More information about the wp-trac mailing list