mirror of
git://develop.git.wordpress.org/
synced 2025-04-03 19:52:47 +02:00
As part of an audit of HTML API CSS behaviors, this patch resolves an issue with how the HTML API reports class names containing the NULL byte. NULL bytes should be replaced by the Unicode replacement character, U+FFFD, but previously weren't. This patch performs that replacement. Developed in https://github.com/WordPress/wordpress-develop/pull/7187 Discussed in https://core.trac.wordpress.org/ticket/61531 Follow-up to [56703]. Props dmsnell, jonsurrell. See #61531. git-svn-id: https://develop.svn.wordpress.org/trunk@58969 602fd350-edb4-49c9-b593-d223f7449a82