[wp-trac] [WordPress Trac] #48054: wp.sanitize.stripTags should iterate instead of using recursion

WordPress Trac noreply at wordpress.org
Wed Aug 20 22:22:58 UTC 2025


#48054: wp.sanitize.stripTags should iterate instead of using recursion
------------------------------------+--------------------------------------
 Reporter:  jrchamp                 |       Owner:  flixos90
     Type:  enhancement             |      Status:  reviewing
 Priority:  normal                  |   Milestone:  6.9
Component:  General                 |     Version:  5.2.3
 Severity:  minor                   |  Resolution:
 Keywords:  has-patch has-test-     |     Focuses:  javascript, performance
  info                              |
------------------------------------+--------------------------------------

Comment (by SirLouen):

 @mukesh27, as far as I can remember, this was just a refactor. The test is
 basically that: everything still in place after and before the patch with
 a code that actually executes the section of code that is being changed.

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


More information about the wp-trac mailing list