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

See #41925.



git-svn-id: https://develop.svn.wordpress.org/trunk@42056 602fd350-edb4-49c9-b593-d223f7449a82
2017-10-31 11:59:43 +00:00
..
phpunit Database: Restore numbered placeholders in wpdb::prepare(). 2017-10-31 11:59:43 +00:00
qunit Customize: Allow 0:00-0:59 in date/time control when 24-hour time used. 2017-10-30 16:39:06 +00:00