Changeset 32783
- Timestamp:
- 06/15/2015 05:34:52 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-upgrader.php
r32655 r32783 547 547 $options = wp_parse_args( $options, $defaults ); 548 548 549 /** 550 * Filter the package options before running an update. 551 * 552 * @since 4.3.0 553 * 554 * @param array $options { 555 * Options used by the upgrader. 556 * 557 * @type string $package Package for update. 558 * @type string $destination Update location. 559 * @type bool $clear_destination Clear the destination resource. 560 * @type bool $clear_working Clear the working resource. 561 * @type bool $abort_if_destination_exists Abort if the Destination directory exists. 562 * @type bool $is_multi Whether the upgrader is running multiple times. 563 * @type array $hook_extra Extra hook arguments. 564 * } 565 */ 566 $options = apply_filters( 'upgrader_package_options', $options ); 567 549 568 if ( ! $options['is_multi'] ) { // call $this->header separately if running multiple times 550 569 $this->skin->header();
Note: See TracChangeset
for help on using the changeset viewer.