[wp-trac] [WordPress Trac] #55664: WP post embed: missing labels and duplicate IDs
WordPress Trac
noreply at wordpress.org
Tue May 3 14:11:20 UTC 2022
#55664: WP post embed: missing labels and duplicate IDs
---------------------------------------+------------------------------
Reporter: afercia | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Embeds | Version:
Severity: normal | Resolution:
Keywords: has-screenshots has-patch | Focuses: accessibility
---------------------------------------+------------------------------
Comment (by ocean90):
Replying to [comment:1 afercia]:
> - Uses `uniqid()` for the IDs. Open to better ways to generate unique
IDs.
Sounds like a case where `wp_unique_id()` should be used instead, see
#44883 for some background.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55664#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list