[wp-trac] [WordPress Trac] #64574: Regression in `wp.sanitize.stripTags()` in WordPress 7.0-alpha

WordPress Trac noreply at wordpress.org
Sat Jan 31 07:33:15 UTC 2026


#64574: Regression in `wp.sanitize.stripTags()` in WordPress 7.0-alpha
--------------------------------------+--------------------------
 Reporter:  hugod                     |       Owner:  westonruter
     Type:  defect (bug)              |      Status:  accepted
 Priority:  normal                    |   Milestone:  7.0
Component:  General                   |     Version:  6.9
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:  javascript
--------------------------------------+--------------------------
Changes (by westonruter):

 * version:  trunk => 6.9


Comment:

 @hugod Thanks for reporting this.

 This indeed was introduced in [60907] to fix #48054.

 I have an initial PR to fix the issue here available for testing and
 review: https://github.com/WordPress/wordpress-develop/pull/10833

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


More information about the wp-trac mailing list