[wp-trac] [WordPress Trac] #40635: Move JavaScript `sanitizeText` and `stripTags` functions from press-this to core

WordPress Trac noreply at wordpress.org
Tue Jul 11 12:54:34 UTC 2017


#40635: Move JavaScript `sanitizeText` and `stripTags` functions from press-this to
core
----------------------------------------+------------------------------
 Reporter:  adamsilverstein             |       Owner:
     Type:  enhancement                 |      Status:  new
 Priority:  normal                      |   Milestone:  Awaiting Review
Component:  General                     |     Version:
 Severity:  normal                      |  Resolution:
 Keywords:  has-patch needs-unit-tests  |     Focuses:  javascript
----------------------------------------+------------------------------

Comment (by adamsilverstein):

 in [attachment:40635.2.diff]
 * separate out functionality into its own file, `wp-sanitize.js`
 * use a separate namespace as suggested in chat - `wp.sanitize`

--
Ticket URL: <https://core.trac.wordpress.org/ticket/40635#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list