WordPress.org

Make WordPress Core


Ignore:
Timestamp:
07/04/2014 11:57:39 PM (7 years ago)
Author:
SergeyBiryukov
Message:

Reinstate 'install_themes_tabs' filter.

props ghost1227.
fixes #28578.

File:
1 edited

Legend:

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

    r28633 r29002  
    4949        $nonmenu_tabs = array( 'theme-information' ); // Valid actions to perform which do not have a Menu item.
    5050
    51         /**
    52          * Filter the tabs shown on the Install Themes screen.
    53          *
    54          * @since 2.8.0
    55          *
    56          * @param array $tabs The tabs shown on the Install Themes screen. Defaults are
    57          *                    'dashboard', 'search', 'upload', 'featured', 'new', and 'updated'.
    58          */
     51        /** This filter is documented in wp-admin/theme-install.php */
    5952        $tabs = apply_filters( 'install_themes_tabs', $tabs );
    6053
Note: See TracChangeset for help on using the changeset viewer.