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

WordPress Trac noreply at wordpress.org
Tue Jun 10 15:09:13 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 needs-        |     Focuses:  javascript, performance
  testing                           |
------------------------------------+--------------------------------------
Changes (by flixos90):

 * owner:  (none) => flixos90
 * status:  new => reviewing
 * milestone:  Awaiting Review => 6.9


Comment:

 Reviewing this as part of a bug scrub, it feels rather trivial to commit.
 Looks like nobody followed up here all the years, but it should be a small
 quick win to add.

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


More information about the wp-trac mailing list