Make WordPress Core


Ignore:
Timestamp:
01/19/2015 08:43:15 AM (11 years ago)
Author:
DrewAPicture
Message:

Ensure the correct list of default tabs for the Plugin Install screen are documented.

Props stevenkword.
Fixes #31017.

File:
1 edited

Legend:

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

    r31164 r31244  
    8585         * @since 2.7.0
    8686         *
    87          * @param array $tabs The tabs shown on the Plugin Install screen. Defaults are 'dashboard', 'search',
    88          *                    'upload', 'featured', 'popular', 'new', and 'favorites'.
     87         * @param array $tabs The tabs shown on the Plugin Install screen. Defaults include 'featured', 'popular',
     88         *                    'recommended', 'favorites', and 'upload'.
    8989         */
    9090        $tabs = apply_filters( 'install_plugins_tabs', $tabs );
     
    162162         *
    163163         * The dynamic portion of the hook name, `$tab`, refers to the plugin install tabs.
    164          * Default tabs are 'dashboard', 'search', 'upload', 'featured', 'popular', 'new',
    165          * and 'favorites'.
     164         * Default tabs include 'featured', 'popular', 'recommended', 'favorites', and 'upload'.
    166165         *
    167166         * @since 3.7.0
Note: See TracChangeset for help on using the changeset viewer.