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

WordPress Trac wp-trac at lists.automattic.com
Tue Sep 13 02:04:51 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 SergeyBiryukov):

 Replying to [comment:5 kurtpayne]:
 > Building on Ryan's work above, I added the incremental counter

 `$search_form_counter` could probably be a static variable rather than
 global.

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


More information about the wp-trac mailing list