[wp-trac] [WordPress Trac] #62721: strip_tags() is discouraged. Use the more comprehensive wp_strip_all_tags() instead.
WordPress Trac
noreply at wordpress.org
Fri Dec 20 19:17:20 UTC 2024
#62721: strip_tags() is discouraged. Use the more comprehensive wp_strip_all_tags()
instead.
-------------------------------+-------------------------------
Reporter: pitamdey | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Themes | Version:
Severity: normal | Resolution:
Keywords: close 2nd-opinion | Focuses: coding-standards
-------------------------------+-------------------------------
Changes (by sabernhardt):
* keywords: has-patch needs-testing => close 2nd-opinion
Comment:
#57579 already covers the broader scope of replacing //most//
`strip_tags()` calls.
However, this ticket might be worth keeping open separately if it focuses
on the calls within the bundled themes' image attachment templates and/or
ephemera widget classes.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62721#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list