Wordpress/tests
Gary Pendergast 3ce2cd9310 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.



git-svn-id: https://develop.svn.wordpress.org/branches/3.7@42068 602fd350-edb4-49c9-b593-d223f7449a82
2017-10-31 13:01:54 +00:00
..
phpunit Database: Restore numbered placeholders in wpdb::prepare(). 2017-10-31 13:01:54 +00:00
qunit Expand the zxcvbn password meter blacklist, based on user input. 2013-09-28 06:46:29 +00:00