[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
Fri Sep 7 02:04:07 UTC 2018


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

Comment (by dlh):

 Replying to [comment:4 westonruter]:
 > Like a `wp_unique_id()` function added to `wp-includes/functions.php`?

 Yep, exactly that.

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


More information about the wp-trac mailing list