WordPress.org

Make WordPress Core


Ignore:
Timestamp:
03/22/2018 08:26:06 PM (4 years ago)
Author:
johnbillion
Message:

Docs: Document many more parameters and properties using typed array notation.

See #41756

File:
1 edited

Legend:

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

    r42827 r42871  
    152152     * @global WP_Filesystem_Base $wp_filesystem WordPress filesystem subclass.
    153153     *
    154      * @param array $language_updates Optional. Language pack updates. Default empty array.
    155      * @param array $args {
    156      *     Optional. Other arguments for upgrading multiple language packs. Default empty array
     154     * @param object[] $language_updates Optional. Array of language packs to update. @see wp_get_translation_updates().
     155     *                                   Default empty array.
     156     * @param array    $args {
     157     *     Other arguments for upgrading multiple language packs. Default empty array.
    157158     *
    158159     *     @type bool $clear_update_cache Whether to clear the update cache when done.
     
    160161     * }
    161162     * @return array|bool|WP_Error Will return an array of results, or true if there are no updates,
    162      *                                   false or WP_Error for initial errors.
     163     *                             false or WP_Error for initial errors.
    163164     */
    164165    public function bulk_upgrade( $language_updates = array(), $args = array() ) {
Note: See TracChangeset for help on using the changeset viewer.