Changeset 47414 for trunk/src/wp-admin/includes/class-plugin-upgrader.php
- Timestamp:
- 03/03/2020 11:38:00 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-plugin-upgrader.php
r47409 r47414 416 416 * @since 4.1.0 Added a return value. 417 417 * 418 * @param bool|WP_Error 419 * @param array 418 * @param bool|WP_Error $return Upgrade offer return. 419 * @param array $plugin Plugin package arguments. 420 420 * @return bool|WP_Error The passed in $return param or WP_Error. 421 421 */ … … 467 467 $plugin = isset( $plugin['plugin'] ) ? $plugin['plugin'] : ''; 468 468 469 // Only run if plugin is active 469 // Only run if plugin is active. 470 470 if ( ! is_plugin_active( $plugin ) ) { 471 471 return $return; … … 487 487 * @since 5.4.0 488 488 * 489 * @param bool|WP_Error 490 * @param array 489 * @param bool|WP_Error $return Upgrade offer return. 490 * @param array $plugin Plugin package arguments. 491 491 * @return bool|WP_Error The passed in $return param or WP_Error. 492 492 */ … … 526 526 * @global WP_Filesystem_Base $wp_filesystem WordPress filesystem subclass. 527 527 * 528 * @param bool|WP_Error $removed Whether the destination was cleared. true on success, WP_Error on failure. 528 * @param bool|WP_Error $removed Whether the destination was cleared. 529 * True on success, WP_Error on failure. 529 530 * @param string $local_destination The local package destination. 530 531 * @param string $remote_destination The remote package destination.
Note: See TracChangeset
for help on using the changeset viewer.