[wp-trac] [WordPress Trac] #63297: Add escaping on class variable in themes.php file
WordPress Trac
noreply at wordpress.org
Wed Apr 16 19:06:26 UTC 2025
#63297: Add escaping on class variable in themes.php file
-----------------------------+-------------------------------
Reporter: harishtewari | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Resolution:
Keywords: has-patch close | Focuses: coding-standards
-----------------------------+-------------------------------
Changes (by sabernhardt):
* keywords: has-patch => has-patch close
Comment:
Thanks for the ticket and patch!
The `$active_class` variable is either `' active'` or an empty string, and
those would not require escaping.
I think this should be closed for the same reason as #58251, #59626 and
#61378.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63297#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list