From 434bee9fc9d6a53e806d80fad4736c07a9a0ea20 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 19 May 2020 08:41:12 +0000 Subject: [PATCH] Coding Standards: Fix WPCS issues in `wp-includes/class-wp-customize-manager.php`. Follow-up to [47819]. Props sorenbronsted. See #49542. Built from https://develop.svn.wordpress.org/trunk@47821 git-svn-id: http://core.svn.wordpress.org/trunk@47597 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-wp-customize-manager.php | 6 +++--- wp-includes/version.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/wp-includes/class-wp-customize-manager.php b/wp-includes/class-wp-customize-manager.php index ce325118f5..9d55fb23ac 100644 --- a/wp-includes/class-wp-customize-manager.php +++ b/wp-includes/class-wp-customize-manager.php @@ -889,7 +889,7 @@ final class WP_Customize_Manager { * @return bool */ public function is_theme_active() { - return $this->get_stylesheet() == $this->original_stylesheet; + return $this->get_stylesheet() === $this->original_stylesheet; } /** @@ -5856,8 +5856,8 @@ final class WP_Customize_Manager { $theme->id = $theme->slug; $theme->screenshot = array( $theme->screenshot_url ); $theme->authorAndUri = wp_kses( $theme->author['display_name'], $themes_allowedtags ); - $theme->compatibleWP = is_wp_version_compatible( $theme->requires ); - $theme->compatiblePHP = is_php_version_compatible( $theme->requires_php ); + $theme->compatibleWP = is_wp_version_compatible( $theme->requires ); // phpcs:ignore WordPress.NamingConventions.ValidVariableName + $theme->compatiblePHP = is_php_version_compatible( $theme->requires_php ); // phpcs:ignore WordPress.NamingConventions.ValidVariableName if ( isset( $theme->parent ) ) { $theme->parent = $theme->parent['slug']; diff --git a/wp-includes/version.php b/wp-includes/version.php index ba14ea4d76..a54d967be5 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.5-alpha-47820'; +$wp_version = '5.5-alpha-47821'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.