Make WordPress Core


Ignore:
Timestamp:
07/29/2020 01:07:35 PM (6 years ago)
Author:
SergeyBiryukov
Message:

Upgrade/Install: Pass correct argument to clear_destination in Theme_Upgrader::install().

Follow-up to [48390].

Props afragen, sabernhardt.
Fixes #9757.

File:
1 edited

Legend:

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

    r48666 r48685  
    128128
    129129                add_filter( 'upgrader_source_selection', array( $this, 'check_package' ) );
     130
    130131                if ( $parsed_args['clear_update_cache'] ) {
    131132                        // Clear cache so wp_update_plugins() knows about the new plugin.
Note: See TracChangeset for help on using the changeset viewer.