Changeset 47821
- Timestamp:
- 05/19/2020 08:39:28 AM (6 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-customize-manager.php
r47819 r47821 890 890 */ 891 891 public function is_theme_active() { 892 return $this->get_stylesheet() == $this->original_stylesheet;892 return $this->get_stylesheet() === $this->original_stylesheet; 893 893 } 894 894 … … 5857 5857 $theme->screenshot = array( $theme->screenshot_url ); 5858 5858 $theme->authorAndUri = wp_kses( $theme->author['display_name'], $themes_allowedtags ); 5859 $theme->compatibleWP = is_wp_version_compatible( $theme->requires ); 5860 $theme->compatiblePHP = is_php_version_compatible( $theme->requires_php ); 5859 $theme->compatibleWP = is_wp_version_compatible( $theme->requires ); // phpcs:ignore WordPress.NamingConventions.ValidVariableName 5860 $theme->compatiblePHP = is_php_version_compatible( $theme->requires_php ); // phpcs:ignore WordPress.NamingConventions.ValidVariableName 5861 5861 5862 5862 if ( isset( $theme->parent ) ) {
Note: See TracChangeset
for help on using the changeset viewer.