Changeset 11005 for trunk/wp-admin/plugin-install.php
- Timestamp:
- 04/19/2009 07:36:28 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/plugin-install.php
r10829 r11005 25 25 //These are the tabs which are shown on the page, 26 26 $tabs = array(); 27 $tabs['dashboard'] = __('Search'); //TODO: Better name?27 $tabs['dashboard'] = __('Search'); 28 28 if ( 'search' == $tab ) 29 29 $tabs['search'] = __('Search Results'); … … 34 34 $tabs['updated'] = __('Recently Updated'); 35 35 36 $nonmenu_tabs = array(' install', 'plugin-information', 'do_upload'); //Valid actions to perform which do not have a Menu item.36 $nonmenu_tabs = array('plugin-information'); //Valid actions to perform which do not have a Menu item. 37 37 38 38 $tabs = apply_filters('install_plugins_tabs', $tabs ); … … 63 63 $sep = ( end($tabs) != $text ) ? ' | ' : ''; 64 64 $class = ( $action == $tab ) ? ' class="current"' : ''; 65 $href = admin_url('plugin-install.php?tab=' . $action);65 $href = admin_url('plugin-install.php?tab=' . $action); 66 66 echo "\t\t<li><a href='$href'$class>$text</a>$sep</li>\n"; 67 67 } … … 73 73 <?php 74 74 include('admin-footer.php'); 75 ?>
Note: See TracChangeset
for help on using the changeset viewer.