Site Health: Remove reference to an undefined variable in `WP_Site_Health_Auto_Updates::test_constants()`.
Props diddledan. Fixes #46952. Built from https://develop.svn.wordpress.org/trunk@45223 git-svn-id: http://core.svn.wordpress.org/trunk@45032 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
01dec9af0b
commit
893be2cf11
|
@ -66,7 +66,7 @@ class WP_Site_Health_Auto_Updates {
|
|||
* @return array The test results.
|
||||
*/
|
||||
public function test_constants( $constant, $value ) {
|
||||
if ( defined( $constant ) && constant( $constant ) != $allowed_constants[ $constant ] ) {
|
||||
if ( defined( $constant ) && constant( $constant ) != $value ) {
|
||||
return array(
|
||||
'description' => sprintf(
|
||||
/* translators: %s: Name of the constant used. */
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.2-beta3-45222';
|
||||
$wp_version = '5.2-beta3-45223';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue