[wp-trac] [WordPress Trac] #64567: HTML API: get_attribute_names_with_prefix() should agree with enqueued attribute updates.
WordPress Trac
noreply at wordpress.org
Tue Feb 10 17:23:59 UTC 2026
#64567: HTML API: get_attribute_names_with_prefix() should agree with enqueued
attribute updates.
--------------------------------------+---------------------
Reporter: dmsnell | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 7.0
Component: HTML API | Version: 6.2
Severity: minor | Resolution:
Keywords: good-first-bug has-patch | Focuses:
--------------------------------------+---------------------
Comment (by dmsnell):
Thanks everyone for your help. We seem to have a growing amount of
uncoordinated activity, with two proposed patches and one manual test.
What would be great is if we combined our efforts and added new unit tests
alongside the existing Tag Processor tests for
`get_attribute_names_with_prefix()`. If we have those, then we won’t need
to perform manual testing — we’ll only need to review the test code
itself.
Getting the test cases in, including but potentially not limited to adding
an attribute, removing an attribute, and changing an attribute, with or
without existing duplicates, might reveal some differences between the
different proposals.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64567#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list