Tests: Clean up skipping conditions and requirements for various tests.
This improves the consistency of test skipping and ensures that: * The `@requires` annotations use the right condition and format, and are on the right level (class vs. function). * Inline conditions with a `markTestSkipped()` call are only used when annotations cannot be used. * All `markTestSkipped()` calls contain a verbose explanation of why the test is being skipped. Props jrf, hellofromTonya. Fixes #53009. Built from https://develop.svn.wordpress.org/trunk@51415 git-svn-id: http://core.svn.wordpress.org/trunk@51026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
34119e2c95
commit
8ed1859c35
@ -13,7 +13,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.9-alpha-51414';
|
||||
$wp_version = '5.9-alpha-51415';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user