From 64ed8a73558fdd74fc4a0adce397cc62640210aa Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 22 May 2020 17:26:07 +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. Built from https://develop.svn.wordpress.org/trunk@47840 git-svn-id: http://core.svn.wordpress.org/trunk@47616 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/class-wp-debug-data.php | 6 +++--- wp-includes/version.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/wp-admin/includes/class-wp-debug-data.php b/wp-admin/includes/class-wp-debug-data.php index 41ce09ef84..e15deb99d2 100644 --- a/wp-admin/includes/class-wp-debug-data.php +++ b/wp-admin/includes/class-wp-debug-data.php @@ -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 { diff --git a/wp-includes/version.php b/wp-includes/version.php index 97083029b8..154e0a1a77 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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.