Aaron Campbell
|
fc930d3dae
|
Database: Hardening to bring wpdb::prepare() inline with documentation.
`wpdb::prepare()` supports %s, %d, and %F as placeholders in the query string. Any other non-escaped % will be escaped.
Built from https://develop.svn.wordpress.org/trunk@41496
git-svn-id: http://core.svn.wordpress.org/trunk@41329 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2017-09-19 17:56:45 +00:00 |
|
Aaron Campbell
|
5225e026ef
|
Database: Don’t trigger _doing_it_wrong() for null values in wpdb::prepare().
While `wpdb::prepare()` does not support null values (see #12819) they still appear in the wild like in the WordPress Importer and other plugins.
Built from https://develop.svn.wordpress.org/trunk@41483
git-svn-id: http://core.svn.wordpress.org/trunk@41316 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2017-09-19 16:06:45 +00:00 |
|
Aaron Campbell
|
70b2127909
|
Database: Hardening for wpdb::prepare()
Previously if you passed an array of values for placeholders, additional values could be passed as well. Now additional values will be ignored.
Built from https://develop.svn.wordpress.org/trunk@41470
git-svn-id: http://core.svn.wordpress.org/trunk@41303 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2017-09-19 14:48:47 +00:00 |
|
Aaron Campbell
|
1115a36cda
|
oEmbed: Add extra hardening around allowed HTML for improved sandboxing.
Built from https://develop.svn.wordpress.org/trunk@41448
git-svn-id: http://core.svn.wordpress.org/trunk@41281 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2017-09-19 13:43:05 +00:00 |
|
Aaron Campbell
|
38347d7c58
|
Add nonce for updating file system credentials.
Built from https://develop.svn.wordpress.org/trunk@40723
git-svn-id: http://core.svn.wordpress.org/trunk@40581 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2017-05-16 14:48:44 +00:00 |
|
Aaron Campbell
|
288cd46939
|
Strip control characters before validating redirect.
Built from https://develop.svn.wordpress.org/trunk@40183
git-svn-id: http://core.svn.wordpress.org/trunk@40122 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2017-03-06 13:38:41 +00:00 |
|
Aaron Campbell
|
4d80f8b3e1
|
Plugins: Add file check to plugin deletions.
Built from https://develop.svn.wordpress.org/trunk@40169
git-svn-id: http://core.svn.wordpress.org/trunk@40108 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2017-03-06 12:55:41 +00:00 |
|
Aaron Campbell
|
daf358983c
|
REST API: Change which users are shown in the users endpoint.
Only show users that have authored a post of a post type that has `show_in_rest` set to true.
Props rachelbaker, jnylen0.
See #38878.
Built from https://develop.svn.wordpress.org/trunk@39843
git-svn-id: http://core.svn.wordpress.org/trunk@39781 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2017-01-11 14:14:42 +00:00 |
|
Aaron Campbell
|
03e5c0314a
|
Add nonce for widget accessibility mode.
Props vortfu.
See #23328.
Built from https://develop.svn.wordpress.org/trunk@39760
git-svn-id: http://core.svn.wordpress.org/trunk@39698 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2017-01-11 01:32:41 +00:00 |
|
Aaron Campbell
|
3a761adbd7
|
Shortcodes: Add new strip_shortcodes_tagnames filter.
With the new `strip_shortcodes_tagnames` filter you can specify which shortcodes are stripped by `strip_shortcodes()`. The default is all registered shortcodes.
Props DylanAuty, orvils, swissspidy.
Fixes #37767.
Built from https://develop.svn.wordpress.org/trunk@38877
git-svn-id: http://core.svn.wordpress.org/trunk@38820 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2016-10-23 14:25:31 +00:00 |
|
Aaron Campbell
|
405def3da4
|
Media: Improved media titles when created from filename.
Preserves spaces and generally creates more accurate, cleaner titles from filenames of uploaded media.
Props joemcgill.
Fixes #37989.
Built from https://develop.svn.wordpress.org/trunk@38614
git-svn-id: http://core.svn.wordpress.org/trunk@38557 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2016-09-17 05:42:31 +00:00 |
|
Aaron Campbell
|
894526c78d
|
Consider both home and site domains to be valid in wp_validate_redirect().
Props layotte.
Fixes #34028.
Built from https://develop.svn.wordpress.org/trunk@35792
git-svn-id: http://core.svn.wordpress.org/trunk@35756 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2015-12-06 21:17:24 +00:00 |
|
Aaron Campbell
|
f055ac27d1
|
Make the show_post_locked_dialog filter hide both the post locked and post taken over dialogs
props azaozz, DH-Shredder. Fixes #24830 for trunk.
git-svn-id: http://core.svn.wordpress.org/trunk@24883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2013-07-29 19:25:26 +00:00 |
|
Aaron Campbell
|
c168ef72cc
|
Disable ability to restore a revision if another user has the post lock
props adamsilverstein. Fixes #24829 for trunk.
git-svn-id: http://core.svn.wordpress.org/trunk@24827 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2013-07-28 21:51:44 +00:00 |
|