[wp-trac] [WordPress Trac] #63694: HTML Processing Improvements in 6.9

WordPress Trac noreply at wordpress.org
Fri Jul 18 20:57:59 UTC 2025


#63694: HTML Processing Improvements in 6.9
--------------------------------------+---------------------
 Reporter:  dmsnell                   |       Owner:  (none)
     Type:  enhancement               |      Status:  new
 Priority:  normal                    |   Milestone:  6.9
Component:  HTML API                  |     Version:  trunk
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+---------------------

Comment (by dmsnell):

 In [changeset:"60485" 60485]:
 {{{
 #!CommitTicketReference repository="" revision="60485"
 HTML API: Use `assertEqualHTML()` in `wp_rel_ugc()` tests.

 In some tests, the expected output was updated to its pure HTML state,
 removing the wrapping call to `wp_slash()`. Instead, `stripslashes()` has
 been applied to the output of the code under function. This leaves more
 readable test failures.

 Developed in https://github.com/WordPress/wordpress-develop/pull/9255
 Discussed in https://core.trac.wordpress.org/ticket/63694

 Props dmsnell, jonsurrell.
 See #63694.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/63694#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list