[wp-trac] [WordPress Trac] #62246: wp_print_font_faces() prints an HTML tag with an id property despite being able to be used more than once.
WordPress Trac
noreply at wordpress.org
Thu Oct 17 17:28:56 UTC 2024
#62246: wp_print_font_faces() prints an HTML tag with an id property despite being
able to be used more than once.
--------------------------+------------------------------
Reporter: mmaattiiaass | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: trunk
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by mmaattiiaass):
We could probably use class instead of ID as a solution.I'm wondering
about retrocompatibility. There's nothing in core or Gutenberg depending
on this, but an extender could have added some functionality referencing
this ID. Is this type of attribute ok to change? Still if it's not changed
WordPress would be rendering invalid HTML so I think it needs to be fixed.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62246#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list