Aaron Jorbin
|
dda1111bdf
|
Build/Test Tools: Revert grunt-contrib-uglify update
Follow up to [43684].
See #45064.
Built from https://develop.svn.wordpress.org/branches/5.0@43686
git-svn-id: http://core.svn.wordpress.org/branches/5.0@43515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2018-10-10 04:11:25 +00:00 |
Aaron Jorbin
|
a870c7e8f3
|
Build/Test: Update dependencies for 5.0
Updates package dependencies to more modern versions, also adds .nvmrc and package-lock.json as followups to [43683] and [43571].
See #44600.
Fixes #45064.
Built from https://develop.svn.wordpress.org/branches/5.0@43684
git-svn-id: http://core.svn.wordpress.org/branches/5.0@43513 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2018-10-09 02:52:45 +00:00 |
Adam Silverstein
|
eb3b3fec1d
|
Security: Rename new `wp.sanitize.sanitizeText` to `stripTagsAndEncodeText`.'
Improve function naming: this function strips tags from a string and also encodes any HTML entities.
Props ocean90.
Fixes #40635.
Built from https://develop.svn.wordpress.org/trunk@41745
git-svn-id: http://core.svn.wordpress.org/trunk@41579 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2017-10-04 18:58:47 +00:00 |
Adam Silverstein
|
938e93fe1f
|
wp.sanitize - fix namespace for calls to `stripTags`.
Fixes an `undefined` JavaScript error in PressThis since [41061].
Props afercia.
Fixes #41883.
Built from https://develop.svn.wordpress.org/trunk@41379
git-svn-id: http://core.svn.wordpress.org/trunk@41212 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2017-09-14 19:29:44 +00:00 |
Adam Silverstein
|
499e2a0ff9
|
Move `sanitizeText` and `stripTags` from press this to `wp.sanitize`.
Introduce the `wp.sanitize` namespace and add two helpers for text sanitization. `stripTags` strips HTML tags from a string using regex.
Fixes #40635.
Built from https://develop.svn.wordpress.org/trunk@41061
git-svn-id: http://core.svn.wordpress.org/trunk@40911 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2017-07-15 15:48:46 +00:00 |