Make WordPress Core

Changes between Initial Version and Version 2 of Ticket #64340


Ignore:
Timestamp:
12/03/2025 01:10:10 PM (6 months ago)
Author:
jonsurrell
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #64340

    • Property Keywords has-patch has-unit-tests added
  • Ticket #64340 – Description

    initial v2  
    2020}}}
    2121
    22 Notice that the first pass is correct, `&` has been correctly encoded in the class attribute as `&`. However, after calling `::add_class()` and `::get_updated_html()` again, the `&` hass incorrectly been double-encoded as `&`.
     22Notice that the first pass is correct, `&` has been correctly encoded in the class attribute as `&`. However, after calling `::add_class()` and `::get_updated_html()` again, the `&` has incorrectly been double-encoded as `&`.
    2323
    2424The same code in WordPress 6.8 would print: