Coding Standards: Fix WPCS issues in wp-admin/includes/class-wp-debug-data.php.

Follow-up to [47550], [47557], [47835].

See #50052.
Built from https://develop.svn.wordpress.org/trunk@47840


git-svn-id: http://core.svn.wordpress.org/trunk@47616 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2020-05-22 17:26:07 +00:00
parent 443dd105d4
commit 64ed8a7355
2 changed files with 4 additions and 4 deletions

View File

@ -1006,7 +1006,7 @@ class WP_Debug_Data {
),
);
if ( $auto_updates_enabled ) {
if ( in_array( $active_theme->stylesheet, $auto_updates ) ) {
if ( in_array( $active_theme->stylesheet, $auto_updates, true ) ) {
$theme_auto_update_string = __( 'Enabled' );
} else {
$theme_auto_update_string = __( 'Disabled' );
@ -1064,7 +1064,7 @@ class WP_Debug_Data {
),
);
if ( $auto_updates_enabled ) {
if ( in_array( $parent_theme->stylesheet, $auto_updates ) ) {
if ( in_array( $parent_theme->stylesheet, $auto_updates, true ) ) {
$parent_theme_auto_update_string = __( 'Enabled' );
} else {
$parent_theme_auto_update_string = __( 'Disabled' );
@ -1126,7 +1126,7 @@ class WP_Debug_Data {
}
if ( $auto_updates_enabled ) {
if ( in_array( $theme_slug, $auto_updates ) ) {
if ( in_array( $theme_slug, $auto_updates, true ) ) {
$theme_version_string .= ' | ' . $auto_updates_enabled_str;
$theme_version_string_debug .= ',' . $auto_updates_enabled_str;
} else {

View File

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