Make WordPress Core


Ignore:
Timestamp:
06/20/2020 12:12:39 PM (4 years ago)
Author:
SergeyBiryukov
Message:

Docs: Miscellaneous DocBlock corrections for plugin and theme installation and updates.

See #49572.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-plugin-install-list-table.php

    r47550 r48105  
    118118
    119119        /**
    120          * Filters the tabs shown on the Plugin Install screen.
     120         * Filters the tabs shown on the Add Plugins screen.
    121121         *
    122122         * @since 2.7.0
    123123         *
    124          * @param string[] $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 Add Plugins screen. Defaults include
     125         *                       'featured', 'popular', 'recommended', 'favorites', and 'upload'.
    126126         */
    127127        $tabs = apply_filters( 'install_plugins_tabs', $tabs );
    128128
    129129        /**
    130          * Filters tabs not associated with a menu item on the Plugin Install screen.
     130         * Filters tabs not associated with a menu item on the Add Plugins screen.
    131131         *
    132132         * @since 2.7.0
    133133         *
    134          * @param string[] $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 Add Plugins screen.
    135135         */
    136136        $nonmenu_tabs = apply_filters( 'install_plugins_nonmenu_tabs', $nonmenu_tabs );
     
    208208
    209209        /**
    210          * Filters API request arguments for each Plugin Install screen tab.
     210         * Filters API request arguments for each Add Plugins screen tab.
    211211         *
    212212         * The dynamic portion of the hook name, `$tab`, refers to the plugin install tabs.
     
    215215         * @since 3.7.0
    216216         *
    217          * @param array|bool $args Plugin Install API arguments.
     217         * @param array|false $args Plugin install API arguments.
    218218         */
    219219        $args = apply_filters( "install_plugins_table_api_args_{$tab}", $args );
Note: See TracChangeset for help on using the changeset viewer.