Tests: Require PHP less than 8.0 for some wpdb tests.

These tests ensure that `wpdb::prepare()` throws a `_doing_it_wrong()` notice when called with an incorrect number of arguments, or with arguments of a wrong type.

PHP 8 introduces similar error messages natively, making these tests redundant on PHP 8.0 or later.

Follow-up to [41470], [41662].

See #50913.
Built from https://develop.svn.wordpress.org/trunk@48973


git-svn-id: http://core.svn.wordpress.org/trunk@48735 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2020-09-13 02:49:06 +00:00
parent a2947f7054
commit 7e2c6d63b7

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.6-alpha-48972';
$wp_version = '5.6-alpha-48973';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.