From 4d6ac487e71c0583e52f56d53223857b5d01dfe5 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 22 May 2020 17:24:05 +0000 Subject: [PATCH] Coding Standards: Fix WPCS issues in `wp-admin/includes/class-wp-debug-data.php`. Follow-up to [47550], [47557], [47835]. See #50052. git-svn-id: https://develop.svn.wordpress.org/trunk@47840 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/class-wp-debug-data.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wp-admin/includes/class-wp-debug-data.php b/src/wp-admin/includes/class-wp-debug-data.php index 41ce09ef84c5..e15deb99d27e 100644 --- a/src/wp-admin/includes/class-wp-debug-data.php +++ b/src/wp-admin/includes/class-wp-debug-data.php @@ -1006,7 +1006,7 @@ static function 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 @@ static function 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 @@ static function 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 {