Index: /trunk/src/wp-admin/includes/class-wp-theme-install-list-table.php =================================================================== --- /trunk/src/wp-admin/includes/class-wp-theme-install-list-table.php (revision 29001) +++ /trunk/src/wp-admin/includes/class-wp-theme-install-list-table.php (revision 29002) @@ -49,12 +49,5 @@ $nonmenu_tabs = array( 'theme-information' ); // Valid actions to perform which do not have a Menu item. - /** - * Filter the tabs shown on the Install Themes screen. - * - * @since 2.8.0 - * - * @param array $tabs The tabs shown on the Install Themes screen. Defaults are - * 'dashboard', 'search', 'upload', 'featured', 'new', and 'updated'. - */ + /** This filter is documented in wp-admin/theme-install.php */ $tabs = apply_filters( 'install_themes_tabs', $tabs ); Index: /trunk/src/wp-admin/theme-install.php =================================================================== --- /trunk/src/wp-admin/theme-install.php (revision 29001) +++ /trunk/src/wp-admin/theme-install.php (revision 29002) @@ -27,4 +27,9 @@ $submenu_file = 'themes.php'; } + +$tabs = array( + 'upload' => __( 'Upload Theme' ), + 'browse-themes' => _x( 'Browse', 'themes' ), +); $sections = array( @@ -111,6 +116,17 @@