[wp-trac] [WordPress Trac] #48054: wp.sanitize.stripTags should iterate instead of using recursion
WordPress Trac
noreply at wordpress.org
Sat Oct 4 02:47:06 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 rollybueno):
== Test Report
=== Description
This report validates whether the indicated patch works as expected.
Patch tested: https://github.com/WordPress/wordpress-develop/pull/8980
=== Environment
- WordPress: 6.9-alpha-60093-src
- PHP: 8.2.29
- Server: nginx/1.29.1
- Database: mysqli (Server: 8.4.6 / Client: mysqlnd 8.2.29)
- Browser: Chrome 140.0.0.0
- OS: Linux
- Theme: Twenty Twenty-Five 1.2
- MU Plugins: None activated
- Plugins:
* Gutenberg 21.7.0
* Test Reports 1.2.0
=== Actual Results
1. ✅ Issue resolved with patch, if we just expecting same result from
trunk.
=== Additional Notes
- Patch was fetched and applied locally using:
{{{
git fetch upstream pull/8980/head:pr-8980
git checkout pr-8980
}}}
- Used test code from
https://core.trac.wordpress.org/ticket/48054#comment:5
- No errors encountered during build or test execution.
=== Supplemental Artifacts
trunk as of this report: [[Image(https://i.imgur.com/0KIVajJ.png)]]
PR 8980: [[Image(https://i.imgur.com/lCUNgbw.png)]]
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48054#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list