[wp-trac] [WordPress Trac] #44883: Twenty Seventeen: Use simple counter rather than uniqid() for generating unique IDs for HTML elements

WordPress Trac noreply at wordpress.org
Sun Jan 6 20:18:13 UTC 2019


#44883: Twenty Seventeen: Use simple counter rather than uniqid() for generating
unique IDs for HTML elements
------------------------------+----------------------------
 Reporter:  westonruter       |       Owner:  laurelfulford
     Type:  enhancement       |      Status:  closed
 Priority:  normal            |   Milestone:  5.0.3
Component:  Bundled Theme     |     Version:  4.7
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:
------------------------------+----------------------------
Changes (by desrosj):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"44409" 44409]:
 {{{
 #!CommitTicketReference repository="" revision="44409"
 Twenty Seventeen: Use a simple counter incremented with each call instead
 of `uniqid()` for generating unique IDs for HTML elements.

 Props westonruter, laurelfulford.

 Merges [43659] and [44408] to the 5.0 branch.
 Fixes #44883.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/44883#comment:24>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list