Changeset 48687 for branches/5.5
- Timestamp:
- 07/29/2020 03:18:39 PM (4 years ago)
- Location:
- branches/5.5
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.5
-
branches/5.5/src/wp-admin/includes/class-plugin-upgrader.php
r48666 r48687 128 128 129 129 add_filter( 'upgrader_source_selection', array( $this, 'check_package' ) ); 130 130 131 if ( $parsed_args['clear_update_cache'] ) { 131 132 // Clear cache so wp_update_plugins() knows about the new plugin. -
branches/5.5/src/wp-admin/includes/class-theme-upgrader.php
r48666 r48687 240 240 add_filter( 'upgrader_source_selection', array( $this, 'check_package' ) ); 241 241 add_filter( 'upgrader_post_install', array( $this, 'check_parent_theme_filter' ), 10, 3 ); 242 242 243 if ( $parsed_args['clear_update_cache'] ) { 243 244 // Clear cache so wp_update_themes() knows about the new theme. … … 249 250 'package' => $package, 250 251 'destination' => get_theme_root(), 251 'clear_destination' => $ args['overwrite_package'],252 'clear_destination' => $parsed_args['overwrite_package'], 252 253 'clear_working' => true, 253 254 'hook_extra' => array(
Note: See TracChangeset
for help on using the changeset viewer.