Make WordPress Core


Ignore:
Timestamp:
05/17/2020 09:37:12 AM (4 years ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Fix WPCS issues in plugin and theme upgrader classes.

See #49542.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-theme-upgrader.php

    r47414 r47814  
    578578
    579579        // Ensure stylesheet name hasn't changed after the upgrade:
    580         if ( get_stylesheet() === $theme && $theme != $this->result['destination_name'] ) {
     580        if ( get_stylesheet() === $theme && $theme !== $this->result['destination_name'] ) {
    581581            wp_clean_themes_cache();
    582582            $stylesheet = $this->result['destination_name'];
Note: See TracChangeset for help on using the changeset viewer.