Make WordPress Core


Ignore:
Timestamp:
03/25/2018 06:09:56 PM (7 years ago)
Author:
johnbillion
Message:

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

See #41756

File:
1 edited

Legend:

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

    r42778 r42875  
    570570 * @since 3.8.0
    571571 *
    572  * @param array $themes Optional. Array of WP_Theme objects to prepare.
    573  *                      Defaults to all allowed themes.
     572 * @param WP_Theme[] $themes Optional. Array of theme objects to prepare.
     573 *                           Defaults to all allowed themes.
    574574 *
    575575 * @return array An associative array of theme data, sorted by name.
     
    586586     * @since 4.2.0
    587587     *
    588      * @param array      $prepared_themes An associative array of theme data. Default empty array.
    589      * @param null|array $themes          An array of WP_Theme objects to prepare, if any.
    590      * @param string     $current_theme   The current theme slug.
     588     * @param array           $prepared_themes An associative array of theme data. Default empty array.
     589     * @param WP_Theme[]|null $themes          An array of theme objects to prepare, if any.
     590     * @param string          $current_theme   The current theme slug.
    591591     */
    592592    $prepared_themes = (array) apply_filters( 'pre_prepare_themes_for_js', array(), $themes, $current_theme );
Note: See TracChangeset for help on using the changeset viewer.