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-wp-plugin-install-list-table.php

    r42829 r42871  
    122122         * @since 2.7.0
    123123         *
    124          * @param array $tabs The tabs shown on the Plugin Install screen. Defaults include 'featured', 'popular',
    125          *                    'recommended', 'favorites', and 'upload'.
     124         * @param string[] $tabs The tabs shown on the Plugin Install screen. Defaults include 'featured', 'popular',
     125         *                      'recommended', 'favorites', and 'upload'.
    126126         */
    127127        $tabs = apply_filters( 'install_plugins_tabs', $tabs );
     
    132132         * @since 2.7.0
    133133         *
    134          * @param array $nonmenu_tabs The tabs that don't have a Menu item on the Plugin Install screen.
     134         * @param string[] $nonmenu_tabs The tabs that don't have a menu item on the Plugin Install screen.
    135135         */
    136136        $nonmenu_tabs = apply_filters( 'install_plugins_nonmenu_tabs', $nonmenu_tabs );
     
    603603             * @since 2.7.0
    604604             *
    605              * @param array $action_links An array of plugin action hyperlinks. Defaults are links to Details and Install Now.
    606              * @param array $plugin       The plugin currently being listed.
     605             * @param string[] $action_links An array of plugin action links. Defaults are links to Details and Install Now.
     606             * @param array    $plugin       The plugin currently being listed.
    607607             */
    608608            $action_links = apply_filters( 'plugin_install_action_links', $action_links, $plugin );
Note: See TracChangeset for help on using the changeset viewer.