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

WordPress Trac noreply at wordpress.org
Wed Oct 7 21:32:39 UTC 2020


#48054: wp.sanitize.stripTags should iterate instead of using recursion
------------------------------------+--------------------------------------
 Reporter:  jrchamp                 |       Owner:  (none)
     Type:  enhancement             |      Status:  new
 Priority:  normal                  |   Milestone:  Awaiting Review
Component:  General                 |     Version:  5.2.3
 Severity:  minor                   |  Resolution:
 Keywords:  has-patch needs-        |     Focuses:  javascript, performance
  testing                           |
------------------------------------+--------------------------------------
Changes (by sabernhardt):

 * keywords:  has-patch => has-patch needs-testing
 * focuses:   => javascript, performance


Comment:

 @jrchamp Thanks for the patch!

 I simply moved those changes to the file that creates `wp-includes/js/wp-
 sanitize.js`.

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


More information about the wp-trac mailing list