Changeset 49091 for trunk/src/wp-admin/includes/class-plugin-upgrader.php
- Timestamp:
- 10/05/2020 01:42:04 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-plugin-upgrader.php
r48971 r49091 399 399 400 400 /** 401 * Check a source package to be sure it contains a plugin. 402 * 403 * This function is added to the {@see 'upgrader_source_selection'} filter by 404 * Plugin_Upgrader::install(). 401 * Checks that the source package contains a valid plugin. 402 * 403 * Hooked to the {@see 'upgrader_source_selection'} filter by Plugin_Upgrader::install(). 405 404 * 406 405 * @since 3.3.0 … … 410 409 * 411 410 * @param string $source The path to the downloaded package source. 412 * @return string|WP_Error The source as passed, or a WP_Error object 413 * if no plugins were found. 411 * @return string|WP_Error The source as passed, or a WP_Error object on failure. 414 412 */ 415 413 public function check_package( $source ) {
Note: See TracChangeset
for help on using the changeset viewer.