[wp-trac] [WordPress Trac] #64574: Regression in `wp.sanitize.stripTags()` in WordPress 7.0-alpha
WordPress Trac
noreply at wordpress.org
Tue Feb 3 20:08:16 UTC 2026
#64574: Regression in `wp.sanitize.stripTags()` in WordPress 7.0-alpha
--------------------------------------+--------------------------
Reporter: hugod | Owner: westonruter
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 7.0
Component: General | Version: trunk
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests | Focuses: javascript
--------------------------------------+--------------------------
Changes (by westonruter):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"61585" 61585]:
{{{
#!CommitTicketReference repository="" revision="61585"
General: Further preserve back-compat for `wp.sanitize.stripTags()` to
return empty string when falsy value supplied.
Developed in https://github.com/WordPress/wordpress-develop/pull/10856
Follow-up to [61578], [61347], [60907].
Props jonsurrell, hugod, westonruter.
See #64274.
Fixes #64574.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64574#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list