Tests: Expand the test for conditional tags returning early if `$wp_query` is not set.

When called too early, conditional query tags should throw a `_doing_it_wrong()` notice and return `false`. This commit verifies that behavior not only for `is_main_query()`, but for all the other conditional tags too.

Follow-up to [16947], [17068], [17083], [18699], [37985], [53395].

See #55104.
Built from https://develop.svn.wordpress.org/trunk@53396


git-svn-id: http://core.svn.wordpress.org/trunk@52985 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2022-05-15 15:57:13 +00:00
parent a5db52030f
commit 313f6f8fe0
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.1-alpha-53395';
$wp_version = '6.1-alpha-53396';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.