Changeset 42787 for trunk/src/wp-admin/includes/class-plugin-upgrader.php
- Timestamp:
- 03/05/2018 09:49:53 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-plugin-upgrader.php
r42786 r42787 136 136 * @since 3.7.0 The `$args` parameter was added, making clearing the plugin update cache optional. 137 137 * 138 * @param string $plugin The basename path to the main plugin file.138 * @param string $plugin Path to the plugin file relative to the plugins directory. 139 139 * @param array $args { 140 140 * Optional. Other arguments for upgrading a plugin package. Default empty array. … … 210 210 * @since 3.7.0 The `$args` parameter was added, making clearing the plugin update cache optional. 211 211 * 212 * @param array $plugins Array of the basename paths of the plugins' main files. 213 * @param array $args { 214 * Optional. Other arguments for upgrading several plugins at once. Default empty array. 215 * 216 * @type bool $clear_update_cache Whether to clear the plugin updates cache if successful. 217 * Default true. 212 * @param string[] $plugins Array of paths to plugin files relative to the plugins directory. 213 * @param array $args { 214 * Optional. Other arguments for upgrading several plugins at once. 215 * 216 * @type bool $clear_update_cache Whether to clear the plugin updates cache if successful. Default true. 218 217 * } 219 218 * @return array|false An array of results indexed by plugin file, or false if unable to connect to the filesystem.
Note: See TracChangeset
for help on using the changeset viewer.