[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 Sep 9 14:22:46 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):
I had forgotten about the compatibility requirement for Twenty Seventeen.
Given that the theme needs its own implementation regardless, I'd be happy
to open a ticket for the core function if it would be preferable to
consider it separately. All that said, the `wp_unique_id()` in
[attachment:"44883.1.diff"] works for me as advertised.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44883#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list