Changeset 49788
- Timestamp:
- 12/10/2020 11:36:11 PM (4 years ago)
- Location:
- trunk/src/wp-admin/includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-plugin-upgrader.php
r49091 r49788 163 163 * @since 5.5.0 164 164 * 165 * @param string $package 166 * @param array $ new_plugin_data The new plugindata.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'). 168 168 */ 169 169 do_action( 'upgrader_overwrote_package', $package, $this->new_plugin_data, 'plugin' ); -
trunk/src/wp-admin/includes/class-theme-upgrader.php
r49091 r49788 271 271 272 272 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 */ 283 274 do_action( 'upgrader_overwrote_package', $package, $this->new_theme_data, 'theme' ); 284 275 }
Note: See TracChangeset
for help on using the changeset viewer.