Changeset 47814 for trunk/src/wp-admin/includes/class-theme-upgrader.php
- Timestamp:
- 05/17/2020 09:37:12 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-theme-upgrader.php
r47414 r47814 578 578 579 579 // 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'] ) { 581 581 wp_clean_themes_cache(); 582 582 $stylesheet = $this->result['destination_name'];
Note: See TracChangeset
for help on using the changeset viewer.