Wordpress/tests
Gary Pendergast b4a6de9997 Database: Throw a notice if wpdb::prepare() is called with an incorrect number of arguments
`wpdb::prepare()` currently gives no information if the number of arguments passed doesn't match the number of placeholders in the query. This change gives an explicit notice that the call was incorrect.

Also fixes an enrelated term meta test that was triggering this new notice.

Props thekt12 for the initial patch.
Fixes #42040.



git-svn-id: https://develop.svn.wordpress.org/trunk@41662 602fd350-edb4-49c9-b593-d223f7449a82
2017-10-02 02:10:14 +00:00
..
phpunit Database: Throw a notice if wpdb::prepare() is called with an incorrect number of arguments 2017-10-02 02:10:14 +00:00
qunit REST API JavaScript Client: improve support for model deletion/trash. 2017-10-01 13:06:43 +00:00