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.