mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-17 03:56:07 +00:00
Correct parameter types for Plugin_Upgrader::bulk_upgrade()
and Theme_Upgrader::bulk_upgrade()
.
props ipm-frommen. fixes #31312. Built from https://develop.svn.wordpress.org/trunk@31441 git-svn-id: http://core.svn.wordpress.org/trunk@31422 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
43583a1b9e
commit
6fd67ad80e
@ -824,8 +824,8 @@ class Plugin_Upgrader extends WP_Upgrader {
|
||||
* @since 2.8.0
|
||||
* @since 3.7.0 The `$args` parameter was added, making clearing the plugin update cache optional.
|
||||
*
|
||||
* @param string $plugins Array of the basename paths of the plugins' main files.
|
||||
* @param array $args {
|
||||
* @param array $plugins Array of the basename paths of the plugins' main files.
|
||||
* @param array $args {
|
||||
* Optional. Other arguments for upgrading several plugins at once. Default empty array.
|
||||
*
|
||||
* @type bool $clear_update_cache Whether to clear the plugin updates cache if successful.
|
||||
@ -1351,8 +1351,8 @@ class Theme_Upgrader extends WP_Upgrader {
|
||||
* @since 3.0.0
|
||||
* @since 3.7.0 The `$args` parameter was added, making clearing the update cache optional.
|
||||
*
|
||||
* @param string $themes The theme slugs.
|
||||
* @param array $args {
|
||||
* @param array $themes The theme slugs.
|
||||
* @param array $args {
|
||||
* Optional. Other arguments for upgrading several themes at once. Default empty array.
|
||||
*
|
||||
* @type bool $clear_update_cache Whether to clear the update cache if successful.
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.2-alpha-31440';
|
||||
$wp_version = '4.2-alpha-31441';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
x
Reference in New Issue
Block a user