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
This commit is contained in:
parent
bc0e05d6c8
commit
434bee9fc9
|
@ -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'];
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue