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

WordPress Trac wp-trac at lists.automattic.com
Sat Feb 12 04:10:56 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        |   Keywords:  dev-feedback
--------------------------+-----------------------------
 It's possible to put multiple Search widgets into a template. Problem is
 each one uses the same IDs for the form and input elements, which messes
 up validation/Javascript.

 Possible options:

 - Remove the id's from the search form
 - Add functionality to detect if an instance already exists and bump the
 IDs with a suffix accordingly.

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


More information about the wp-trac mailing list