Make WordPress Core


Ignore:
Timestamp:
10/26/2019 09:07:10 PM (5 years ago)
Author:
johnbillion
Message:

Docs: Switch more docs over to typed array notation, plus some fixes.

See #48303, #41756

File:
1 edited

Legend:

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

    r46451 r46596  
    1212 * @since 2.5.0
    1313 *
    14  * @return array default tabs
     14 * @return string[] Default tabs.
    1515 */
    1616function media_upload_tabs() {
     
    2727     * @since 2.5.0
    2828     *
    29      * @param array $_default_tabs An array of media tabs.
     29     * @param string[] $_default_tabs An array of media tabs.
    3030     */
    3131    return apply_filters( 'media_upload_tabs', $_default_tabs );
     
    11291129     * @since 3.3.0
    11301130     *
    1131      * @param array $size_names Array of image sizes and their names. Default values
    1132      *                          include 'Thumbnail', 'Medium', 'Large', 'Full Size'.
     1131     * @param string[] $size_names Array of image size labels keyed by their name. Default values
     1132     *                             include 'Thumbnail', 'Medium', 'Large', and 'Full Size'.
    11331133     */
    11341134    $size_names = apply_filters(
Note: See TracChangeset for help on using the changeset viewer.