Make WordPress Core

Changeset 49788


Ignore:
Timestamp:
12/10/2020 11:36:11 PM (4 years ago)
Author:
johnbillion
Message:

Upgrade/Install: Remove a duplicate description for the upgrader_overwrote_package action.

See #51800, #9757

Location:
trunk/src/wp-admin/includes
Files:
2 edited

Legend:

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

    r49091 r49788  
    163163             * @since 5.5.0
    164164             *
    165              * @param string  $package          The package file.
    166              * @param array   $new_plugin_data  The new plugin data.
    167              * @param string  $package_type     The package type (plugin or theme).
     165             * @param string  $package      The package file.
     166             * @param array   $data         The new plugin or theme data.
     167             * @param string  $package_type The package type ('plugin' or 'theme').
    168168             */
    169169            do_action( 'upgrader_overwrote_package', $package, $this->new_plugin_data, 'plugin' );
  • trunk/src/wp-admin/includes/class-theme-upgrader.php

    r49091 r49788  
    271271
    272272        if ( $parsed_args['overwrite_package'] ) {
    273             /**
    274              * Fires when the upgrader has successfully overwritten a currently installed
    275              * plugin or theme with an uploaded zip package.
    276              *
    277              * @since 5.5.0
    278              *
    279              * @param string  $package        The package file.
    280              * @param array   $new_theme_data The new theme data.
    281              * @param string  $package_type   The package type (plugin or theme).
    282              */
     273            /** This action is documented in wp-admin/includes/class-plugin-upgrader.php */
    283274            do_action( 'upgrader_overwrote_package', $package, $this->new_theme_data, 'theme' );
    284275        }
Note: See TracChangeset for help on using the changeset viewer.