3ce2cd9310
[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. git-svn-id: https://develop.svn.wordpress.org/branches/3.7@42068 602fd350-edb4-49c9-b593-d223f7449a82 |
||
---|---|---|
src | ||
tests | ||
tools/i18n | ||
.gitignore | ||
Gruntfile.js | ||
package.json | ||
phpunit.xml.dist | ||
wp-config-sample.php | ||
wp-tests-config-sample.php |