Commit Graph

12717 Commits

Author SHA1 Message Date
Peter Wilson b11364d66a WordPress 3.7.41.
Built from https://develop.svn.wordpress.org/branches/3.7@54908


git-svn-id: http://core.svn.wordpress.org/branches/3.7@54460 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-11-30 00:19:10 +00:00
Sergey Biryukov 58555d9e66 WordPress 3.7.40.
Built from https://develop.svn.wordpress.org/branches/3.7@54575


git-svn-id: http://core.svn.wordpress.org/branches/3.7@54129 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-10-17 19:37:12 +00:00
Sergey Biryukov 1de6b1a3bd Grouped backports to the 3.7 branch.
- Posts, Post types: Apply KSES to post-by-email content,
- General: Validate host on "Are you sure?" screen,
- Posts, Post types: Remove emails from post-by-email logs,
- Pings/trackbacks: Apply KSES to all trackbacks,
- Comments: Apply kses when editing comments,
- Mail: Reset PHPMailer properties between use,
- Widgets: Escape RSS error messages for display.

Merges [54521], [54522], [54523], [54525], [54527], [54529], [54541] to the 3.7 branch.
Props voldemortensen, johnbillion, paulkevan, peterwilsoncc, xknown, dd32, audrasjb, martinkrcho, davidbaumwald, tykoted, matveb, talldanwp.

Built from https://develop.svn.wordpress.org/branches/3.7@54546


git-svn-id: http://core.svn.wordpress.org/branches/3.7@54101 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-10-17 17:41:41 +00:00
desrosj bb4970c34d WordPress 3.7.39.
Built from https://develop.svn.wordpress.org/branches/3.7@54010


git-svn-id: http://core.svn.wordpress.org/branches/3.7@53569 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-08-30 17:39:28 +00:00
Sergey Biryukov cd1be7b95f Grouped backports to the 3.7 branch.
- Posts, Post Types: Escape output within `the_meta()`.
- General: Ensure bookmark query limits are numeric.
- Plugins: Escape output in error messages.

Merges [53958-53960] to the 3.7 branch.
Props tykoted, martinkrcho, xknown, dd32, peterwilsoncc, paulkevan, timothyblynjacobs.

Built from https://develop.svn.wordpress.org/branches/3.7@53986


git-svn-id: http://core.svn.wordpress.org/branches/3.7@53545 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-08-30 15:57:11 +00:00
Sergey Biryukov ef39233c64 WordPress 3.7.38.
Built from https://develop.svn.wordpress.org/branches/3.7@52876


git-svn-id: http://core.svn.wordpress.org/branches/3.7@52465 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-03-10 22:03:56 +00:00
Sergey Biryukov 46e4bc4345 External Librairies: Update jQuery.query to version 2.2.3.
This updates the "jquery-query" library from version 2.1.7 to 2.2.3.

Props jorbin, peterwilsoncc, xknown, audrasjb, jorgefilipecosta.
Merges [52844] to the 3.7 branch.
Built from https://develop.svn.wordpress.org/branches/3.7@52869


git-svn-id: http://core.svn.wordpress.org/branches/3.7@52458 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-03-10 21:53:11 +00:00
desrosj d81947b924 WordPress 3.7.37.
Built from https://develop.svn.wordpress.org/branches/3.7@52508


git-svn-id: http://core.svn.wordpress.org/branches/3.7@52100 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-06 18:57:58 +00:00
desrosj f2afd78e41 Grouped backports to the 3.7 branch.
- Query: Improve sanitization within `WP_Tax_Query`.
- Upgrade/Install: Avoid using `unserialize()` unnecessarily.
- Formatting: Correctly encode ASCII characters in post slugs.

Merges [52454,52456-52457] to the 3.7 branch.
Props vortfu, dd32, ehtis, zieladam, whyisjake, xknown, peterwilsoncc, desrosj, iandunn.
Built from https://develop.svn.wordpress.org/branches/3.7@52486


git-svn-id: http://core.svn.wordpress.org/branches/3.7@52078 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-06 18:28:11 +00:00
Peter Wilson f4541c7f15 WordPress 3.7.36.
Built from https://develop.svn.wordpress.org/branches/3.7@50889


git-svn-id: http://core.svn.wordpress.org/branches/3.7@50498 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-05-12 23:26:22 +00:00
Peter Wilson 5fe52eead4 External libraries: Improve attachment handling in PHPMailer
Props: audrasjb, ayeshrajans, desrosj, peterwilsoncc, xknown.
Partially merges [50799] to the 3.7 branch.


Built from https://develop.svn.wordpress.org/branches/3.7@50867


git-svn-id: http://core.svn.wordpress.org/branches/3.7@50476 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-05-12 22:41:11 +00:00
desrosj 34cf51116a Build/Test Tools: Backport GitHub Action and build improvements to the 3.7 branch.
This backports several build and test tool improvements to the 3.7 branch. Most notably, this includes:

- The changes required to allow each workflow to be triggered by the `workflow_dispatch` event so that tests can be run on a schedule [50590].
- Splitting single site and multisite tests into parallel jobs [50379].
- Split slow tests into separate, parallel jobs for PHP <= 5.6 [50444].
- Better branch and path scoping for GitHub Action workflows when running on `pull_request` [50432,50479].
- Several `devDependency` updates.

Merges [50379,50387,50413,50416,50432,50435,50436,50444,50446,50473,50474,50476,50479,50485,50486,50487,50545,50579,50590] to the 3.7 branch.
See #50401, #51801, #51802, #52548, #52608, #52612, #52624, #52625, #52645, #52653, #52658, #52660, #52667.
Built from https://develop.svn.wordpress.org/branches/3.7@50626


git-svn-id: http://core.svn.wordpress.org/branches/3.7@50238 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-03-31 19:52:14 +00:00
desrosj c910eb3f66 Build/Test Tools: Support NodeJS 14.x in the 3.7 branch.
This updates the 3.7 branch to support the latest LTS version of NodeJS (currently 14.x), allowing the same version to be used across all WordPress branches that receive security updates as a courtesy.

Because older branches use (really) old versions of NodeJS, the local Docker environment cannot be backported since the needed dependencies will not run on these older versions (see #48301). This also blocks the ability to move automated testing over to GitHub Actions (see #50401).

This change also introduces a `packager-lock.json` file to the branch.

In addition to backporting the package updates that happened after branching 3.7, dependencies that were removed in future releases have also been updated to their latest versions.

Props desrosj, dd32, netweb, jorbin.
Merges [27053,27299,27721,27848,28796,29270,30060,30062-30063,30066,31557,31650,32356,32988,33726,35513,35521,35538,35540-35541,36861-36865,37019-37020,37212,37612,38111,39113,39115-39117,39478,42460-42461,42887,42989,43320,43323,43977,44219,45446,45765,46408-46409,47867,47872,48705,49636,49933,49939,50185] to the 3.7 branch.
See #52341.
Built from https://develop.svn.wordpress.org/branches/3.7@50224


git-svn-id: http://core.svn.wordpress.org/branches/3.7@49888 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-02-05 04:48:20 +00:00
desrosj 0e07ae3292 WordPress 3.7.35.
Built from https://develop.svn.wordpress.org/branches/3.7@49427


git-svn-id: http://core.svn.wordpress.org/branches/3.7@49186 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-10-29 19:43:26 +00:00
whyisjake 473e6b721a General: WordPress updates
* XML-RPC: Improve error messages for unprivileged users.
* External Libraries: Disable deserialization in Requests_Utility_FilteredIterator
* Embeds: Disable embeds on deactivated Multisite sites.
* Coding standards: Modify escaping functions to avoid potential false positives.
* XML-RPC: Return error message if attachment ID is incorrect.
* Upgrade/install: Improve logic check when determining installation status.
* Meta: Sanitize meta key before checking protection status.
* Themes: Ensure that only privileged users can set a background image when a theme is using the deprecated custom background page.

Brings the changes from [49380,49382-49388] to the 3.7 branch.

Props xknown, zieladam, peterwilsoncc, whyisjake, desrosj, dd32.

Built from https://develop.svn.wordpress.org/branches/3.7@49409


git-svn-id: http://core.svn.wordpress.org/branches/3.7@49168 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-10-29 19:18:10 +00:00
desrosj 84bcdaf9de WordPress 3.7.34
Built from https://develop.svn.wordpress.org/branches/3.7@48006


git-svn-id: http://core.svn.wordpress.org/branches/3.7@47774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-10 21:40:45 +00:00
whyisjake 8533fe0873 General: Backport several commits for release.
Embeds: Ensure that the title attribute is set correctly on embeds.
    Editor: Prevent HTML decoding on by setting the proper editor context.
    Formatting: Ensure that wp_validate_redirect() sanitizes a wider variety of characters.
    Themes: Ensure a broken theme name is returned properly.
    Administration: Add a new filter to extend set-screen-option. 
Merges [47947-47951] to the 3.7 branch.
Props xknown, sstoqnov, vortfu, SergeyBiryukov, whyisjake.

Built from https://develop.svn.wordpress.org/branches/3.7@47962


git-svn-id: http://core.svn.wordpress.org/branches/3.7@47733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-10 18:16:18 +00:00
desrosj 96810af9f6 WordPress 3.7.33
Built from https://develop.svn.wordpress.org/branches/3.7@47683


git-svn-id: http://core.svn.wordpress.org/branches/3.7@47460 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-04-29 18:04:29 +00:00
whyisjake efb4cbc21a User: Invalidate `user_activation_key` on password update.
Query: Ensure that only a single post can be returned on date/time based queries.
Cache API: Ensure proper escaping around the stats method in the cache API.
Formatting: Expand `sanitize_file_name` to have better support for utf8 characters.

Brings the changes in [47634], [47635], [47637], and [47638] to the 3.7 branch.

Props: batmoo, ehti, nickdaugherty, peterwilsoncc, sergeybiryukov, sstoqnov, westi, whyisjake, whyisjake, xknown.

Built from https://develop.svn.wordpress.org/branches/3.7@47662


git-svn-id: http://core.svn.wordpress.org/branches/3.7@47439 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-04-29 16:59:08 +00:00
Sergey Biryukov f27b277f7a Build/Test Tools: Fix the Travis CI build for the 3.7 branch.
Among other fixes, this backports [26087], [26091], [26095], [26252], [26307], [26318], [26512], [26705], [26871], [26909-26910], [26940], [27086], [27168], [28799], [28873], [28943], [28961], [28964], [28966-28967], [29120], [29251], [29503], [29860], [29869], [29954], [30001], [30282], [30285], [30289-30291], [30513-30514], [30516-30521], [30524], [30526], [30529-30530], [31253-31254], [31257-31259], [31622], [40241], [40255], [40257], [40259], [40269], [40271], [40446], [40449], [40457], [40604], [40538], [40833], [41082], [41303], [41306], [44993].

See #49485.
Built from https://develop.svn.wordpress.org/branches/3.7@47343


git-svn-id: http://core.svn.wordpress.org/branches/3.7@47130 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-02-22 12:06:09 +00:00
Sergey Biryukov c676ebc1f6 WordPress 3.7.32
Built from https://develop.svn.wordpress.org/branches/3.7@46936


git-svn-id: http://core.svn.wordpress.org/branches/3.7@46736 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-12 20:36:08 +00:00
Sergey Biryukov 5784f79cbb Update `wp_kses_bad_protocol()` to recognize `&colon;` on uri attributes,
`wp_kses_bad_protocol()` makes sure to validate that uri attributes don’t contain invalid/or not allowed protocols. While this works fine in most cases, there’s a risk that by using the colon html5 named entity, one is able to bypass this function.

Brings r46895 to the 3.7 branch.

Props: xknown, nickdaugherty, peterwilsoncc.
Built from https://develop.svn.wordpress.org/branches/3.7@46903


git-svn-id: http://core.svn.wordpress.org/branches/3.7@46703 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-12 18:27:08 +00:00
desrosj 11bef9c529 WordPress 3.7.31.
Built from https://develop.svn.wordpress.org/branches/3.7@46523


git-svn-id: http://core.svn.wordpress.org/branches/3.7@46320 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-10-14 20:21:07 +00:00
whyisjake 88dbf8b593 Backporting several bug fixes.
- Query: Remove the static query property.
- HTTP API: Protect against hex interpretation.
- Filesystem API: Prevent directory travelersals when creating new folders.
- Administration: Ensure that admin referer nonce is valid.
- REST API: Send a Vary: Origin header on GET requests.
- Customizer: Properly sanitize background images.

Backports [46474], [46475], [46476], [46477], [46478], [46483], [46485] to the 3.7 branch.

Built from https://develop.svn.wordpress.org/branches/3.7@46505


git-svn-id: http://core.svn.wordpress.org/branches/3.7@46302 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-10-14 19:32:09 +00:00
desrosj c8b76218dd WordPress 3.7.30.
Built from https://develop.svn.wordpress.org/branches/3.7@46031


git-svn-id: http://core.svn.wordpress.org/branches/3.7@45843 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-09-04 21:51:40 +00:00
desrosj 96a812ec6d Fix for URL sanitization in `wp_kses_bad_protocol_once()`.
Merges [45997] to the 3.7 branch.

Props irsdl, sstoqnov, whyisjake.
Built from https://develop.svn.wordpress.org/branches/3.7@46023


git-svn-id: http://core.svn.wordpress.org/branches/3.7@45834 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-09-04 21:46:55 +00:00
Sergey Biryukov 5d6dd8aa78 Improve URL validation in `wp_validate_redirect()`.
Merges [45971] to the 3.7 branch.
Props vortfu, whyisjake, peterwilsoncc.
Built from https://develop.svn.wordpress.org/branches/3.7@45988


git-svn-id: http://core.svn.wordpress.org/branches/3.7@45799 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-09-04 17:19:08 +00:00
whyisjake b7f612eb71 Remove _convert_urlencoded_to_entities() from the get_the_content() callback.
Merges [45937] to the 3.7  branch.

Props vortfu, whyisjake, peterwilsoncc

Built from https://develop.svn.wordpress.org/branches/3.7@45969


git-svn-id: http://core.svn.wordpress.org/branches/3.7@45780 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-09-04 16:48:52 +00:00
Gary Pendergast c03ffe42a1 WordPress 3.7.29
Built from https://develop.svn.wordpress.org/branches/3.7@44892


git-svn-id: http://core.svn.wordpress.org/branches/3.7@44723 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-03-13 03:14:08 +00:00
Jeremy Felt 093a17d3c8 Bump 3.7 branch to version 3.7.28
Built from https://develop.svn.wordpress.org/branches/3.7@44090


git-svn-id: http://core.svn.wordpress.org/branches/3.7@43920 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-13 02:17:18 +00:00
Peter Wilson e06de9c2e5 Multisite: Validate activation links.
Merges [44048] to the 3.7 branch.

Built from https://develop.svn.wordpress.org/branches/3.7@44075


git-svn-id: http://core.svn.wordpress.org/branches/3.7@43905 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-13 02:03:08 +00:00
iandunn a2d1cee61d KSES: Make the URI attributes DRY.
This commit introduces the `wp_kses_uri_attributes` function and filter. The function centralizes the list of attributes, in order to prevent inconsistency, and the filter provides a way for plugins to customize the attributes.

Merges [44014] and [44017] to the `3.7` branch.

Built from https://develop.svn.wordpress.org/branches/3.7@44049


git-svn-id: http://core.svn.wordpress.org/branches/3.7@43879 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-13 01:27:08 +00:00
Peter Wilson 81fb9c10a2 Multisite: Improve messaging for previously activated users.
Ensure activation of a site is not attempted multiple times and users are shown the correct message if they follow the link a second time.

Merges [44021] to the 3.7 branch.

Built from https://develop.svn.wordpress.org/branches/3.7@44040


git-svn-id: http://core.svn.wordpress.org/branches/3.7@43870 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-13 01:14:07 +00:00
Gary Pendergast c36f3a8be3 KSES: Conditionally remove the `<form>` element from `$allowedposttags`.
To avoid backwards compatibility issues, `<form>` is re-added if a custom filter has added the `<input>` or `<select>` elements to `$allowedposttags`.

Merges [43994] to the 3.7 branch.


Built from https://develop.svn.wordpress.org/branches/3.7@44019


git-svn-id: http://core.svn.wordpress.org/branches/3.7@43849 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-13 00:06:07 +00:00
Jeremy Felt a1d2eb2c85 Media: Improve verification of MIME file types.
Merges [43988] to the 3.7 branch.

Built from https://develop.svn.wordpress.org/branches/3.7@44012


git-svn-id: http://core.svn.wordpress.org/branches/3.7@43842 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-12 23:50:09 +00:00
Aaron Campbell 216ea4f2d0 Bump 3.7 branch to version 3.7.27
Built from https://develop.svn.wordpress.org/branches/3.7@43419


git-svn-id: http://core.svn.wordpress.org/branches/3.7@43247 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-07-05 16:14:30 +00:00
John Blackbourn 32bf48628e Media: Limit thumbnail file deletions to the same directory as the original file.
Merges [43393] into the 3.7 branch.

Built from https://develop.svn.wordpress.org/branches/3.7@43405


git-svn-id: http://core.svn.wordpress.org/branches/3.7@43233 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-07-05 15:19:09 +00:00
Aaron Campbell 71f5f5fe6a Bump 3.7 branch to version 3.7.26
Built from https://develop.svn.wordpress.org/branches/3.7@42945


git-svn-id: http://core.svn.wordpress.org/branches/3.7@42775 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-04-03 20:32:43 +00:00
Dominik Schilling 505af40a68 Template: Make sure the version string is correctly escaped for use in attributes.
Merge of [42893] to the 3.7 branch.

Built from https://develop.svn.wordpress.org/branches/3.7@42929


git-svn-id: http://core.svn.wordpress.org/branches/3.7@42759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-04-03 16:11:43 +00:00
Dion Hulse ae9bfeddd3 Bump the 3.7 branch to 3.7.25.
Built from https://develop.svn.wordpress.org/branches/3.7@42506


git-svn-id: http://core.svn.wordpress.org/branches/3.7@42335 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-01-16 21:47:35 +00:00
Dion Hulse b572e86a4a External Libraries: Remove unnecessary / obsoleted MediaElement.js files.
Merges [42478] to the 3.7 branch.
Fixes #42720 for 3.7.

Built from https://develop.svn.wordpress.org/branches/3.7@42489


git-svn-id: http://core.svn.wordpress.org/branches/3.7@42318 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-01-16 08:16:11 +00:00
John Blackbourn 8698e8339a Bump 3.7 branch to version 3.7.24.
Built from https://develop.svn.wordpress.org/branches/3.7@42328


git-svn-id: http://core.svn.wordpress.org/branches/3.7@42157 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-11-29 19:06:09 +00:00
John Blackbourn 9f7b91d4bc Hardening: Remove the ability to upload JavaScript files for users who do not have the `unfiltered_html` capability.
Merges [42261] to the 3.7 branch.

Built from https://develop.svn.wordpress.org/branches/3.7@42315


git-svn-id: http://core.svn.wordpress.org/branches/3.7@42144 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-11-29 16:53:09 +00:00
John Blackbourn d7915c3e73 Hardening: Ensure the attributes of enclosures are correctly escaped in RSS and Atom feeds.
Merges [42260] to the 3.7 branch.

Built from https://develop.svn.wordpress.org/branches/3.7@42314


git-svn-id: http://core.svn.wordpress.org/branches/3.7@42143 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-11-29 16:52:10 +00:00
John Blackbourn 149cdb0766 Hardening: Add escaping to the language attributes used on `html` elements.
Merges [42259] to the 3.7 branch.

Built from https://develop.svn.wordpress.org/branches/3.7@42313


git-svn-id: http://core.svn.wordpress.org/branches/3.7@42142 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-11-29 16:50:09 +00:00
Dion Hulse 94278eddb6 WPDB: Check that `AUTH_SALT` is not empty, Fix a PHP notice when `AUTH_SALT` is undefined.
Props jsonfry, mkomar, pento.
Merges [42119] and [42120] to the 3.7 branch.
Fixes #42431 and #42401 for 3.7.

Built from https://develop.svn.wordpress.org/branches/3.7@42241


git-svn-id: http://core.svn.wordpress.org/branches/3.7@42070 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-11-27 01:15:10 +00:00
Gary Pendergast 2fd667487f Bump 3.7 branch to version 3.7.23.
Built from https://develop.svn.wordpress.org/branches/3.7@42080


git-svn-id: http://core.svn.wordpress.org/branches/3.7@41909 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-10-31 13:47:10 +00:00
Gary Pendergast 083e886cf7 Database: Restore numbered placeholders in `wpdb::prepare()`.
[41496] removed support for numbered placeholders in queries send through `wpdb::prepare()`, which, despite being undocumented, were quite commonly used.

This change restores support for numbered placeholders (as well as a subset of placeholder formatting), while also adding extra checks to ensure the correct number of arguments are being passed to `wpdb::prepare()`, given the number of placeholders.

Merges [41662], [42056] to the 3.7 branch.
See #41925.


Built from https://develop.svn.wordpress.org/branches/3.7@42068


git-svn-id: http://core.svn.wordpress.org/branches/3.7@41897 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-10-31 13:02:10 +00:00
Aaron Campbell 67bf4cd7e1 Bump 3.7 branch to version 3.7.22.
Built from https://develop.svn.wordpress.org/branches/3.7@41521


git-svn-id: http://core.svn.wordpress.org/branches/3.7@41354 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-09-19 20:14:20 +00:00
Aaron Campbell 7b03bfc16f 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.

Merges [41496] to 3.7 branch.


Built from https://develop.svn.wordpress.org/branches/3.7@41508


git-svn-id: http://core.svn.wordpress.org/branches/3.7@41341 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-09-19 18:46:09 +00:00