mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-10 02:18:58 +01:00
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.
|
* @return array The test results.
|
||||||
*/
|
*/
|
||||||
public function test_constants( $constant, $value ) {
|
public function test_constants( $constant, $value ) {
|
||||||
if ( defined( $constant ) && constant( $constant ) != $allowed_constants[ $constant ] ) {
|
if ( defined( $constant ) && constant( $constant ) != $value ) {
|
||||||
return array(
|
return array(
|
||||||
'description' => sprintf(
|
'description' => sprintf(
|
||||||
/* translators: %s: Name of the constant used. */
|
/* translators: %s: Name of the constant used. */
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user