[wp-trac] [WordPress Trac] #40635: Move JavaScript `sanitizeText` and `stripTags` functions from press-this to core
WordPress Trac
noreply at wordpress.org
Sat Sep 16 11:08:32 UTC 2017
#40635: Move JavaScript `sanitizeText` and `stripTags` functions from press-this to
core
-------------------------------------------------+-------------------------
Reporter: adamsilverstein | Owner:
Type: enhancement | adamsilverstein
Priority: normal | Status: reopened
Component: Security | Milestone: 4.9
Severity: normal | Version:
Keywords: has-patch needs-unit-tests 2nd- | Resolution:
opinion | Focuses: javascript
-------------------------------------------------+-------------------------
Changes (by ocean90):
* keywords: has-patch needs-unit-tests => has-patch needs-unit-tests 2nd-
opinion
* resolution: fixed =>
* status: closed => reopened
* component: General => Security
Comment:
`wp.sanitize.sanitizeText()` looks weird since it's repetitive. What about
`wp.sanitize.text()`?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40635#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list