[wp-trac] [WordPress Trac] #16539: Duplicate search widgets cause ID conflicts
WordPress Trac
wp-trac at lists.automattic.com
Tue Sep 13 05:10:12 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 ryanimel):
Replying to [comment:9 azaozz]:
One other option would be to add incremental numbers to the second, third,
etc. forms. So the first form would be {{{searchform}}}, the following
{{{searchform-02}}}, {{{searchform-03}}}, etc. It won't break current
styling using the {{{searchform}}} ID, but will allow for each additional
form to have a unique ID as well.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16539#comment:10>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list