Make WordPress Core

Changeset 31441


Ignore:
Timestamp:
02/13/2015 04:18:45 AM (10 years ago)
Author:
SergeyBiryukov
Message:

Correct parameter types for Plugin_Upgrader::bulk_upgrade() and Theme_Upgrader::bulk_upgrade().

props ipm-frommen.
fixes #31312.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-upgrader.php

    r31327 r31441  
    825825     * @since 3.7.0 The `$args` parameter was added, making clearing the plugin update cache optional.
    826826     *
    827      * @param string $plugins Array of the basename paths of the plugins' main files.
    828      * @param array  $args {
     827     * @param array $plugins Array of the basename paths of the plugins' main files.
     828     * @param array $args {
    829829     *     Optional. Other arguments for upgrading several plugins at once. Default empty array.
    830830     *
     
    13521352     * @since 3.7.0 The `$args` parameter was added, making clearing the update cache optional.
    13531353     *
    1354      * @param string $themes The theme slugs.
    1355      * @param array  $args {
     1354     * @param array $themes The theme slugs.
     1355     * @param array $args {
    13561356     *     Optional. Other arguments for upgrading several themes at once. Default empty array.
    13571357     *
Note: See TracChangeset for help on using the changeset viewer.