Aaron Jorbin
|
0e21d32900
|
Build/Test: Bump devDependencies for WordPress 5.3
This upgrades a number of devDependencies. Some of these include changes to how the tasks are configured.
Uglify: There are deprecated options from 2.x to 4.x, see: https://github.com/gruntjs/grunt-contrib-uglify#options
Autoprefixer: Browserslist now warns when passing in the browser list, so that is put into package.json
As with most changes to uglify, this changes every minified JS file.
Fixes #48203.
Built from https://develop.svn.wordpress.org/trunk@46408
git-svn-id: http://core.svn.wordpress.org/trunk@46206 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2019-10-05 19:49:10 +00:00 |
|
whyisjake
|
90d9bdc54c
|
Update wp.a11y.speak() to sanitize HTML before display.
Props iandunn, adamsilverstein, sstoqnov, peterwilsoncc
Built from https://develop.svn.wordpress.org/trunk@45979
git-svn-id: http://core.svn.wordpress.org/trunk@45790 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2019-09-04 17:13:21 +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 |
|