Changeset 52610 for trunk/src/wp-admin/includes/class-theme-upgrader.php
- Timestamp:
- 01/20/2022 11:51:22 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-theme-upgrader.php
r52580 r52610 610 610 611 611 /** 612 * Turn on maintenance mode before attempting to upgrade the currenttheme.612 * Turn on maintenance mode before attempting to upgrade the active theme. 613 613 * 614 614 * Hooked to the {@see 'upgrader_pre_install'} filter by Theme_Upgrader::upgrade() and … … 628 628 $theme = isset( $theme['theme'] ) ? $theme['theme'] : ''; 629 629 630 // Only run if currenttheme630 // Only run if active theme 631 631 if ( get_stylesheet() !== $theme ) { 632 632 return $return; … … 642 642 643 643 /** 644 * Turn off maintenance mode after upgrading the currenttheme.644 * Turn off maintenance mode after upgrading the active theme. 645 645 * 646 646 * Hooked to the {@see 'upgrader_post_install'} filter by Theme_Upgrader::upgrade() … … 660 660 $theme = isset( $theme['theme'] ) ? $theme['theme'] : ''; 661 661 662 // Only run if currenttheme.662 // Only run if active theme. 663 663 if ( get_stylesheet() !== $theme ) { 664 664 return $return;
Note: See TracChangeset
for help on using the changeset viewer.