Make WordPress Core


Ignore:
Timestamp:
03/20/2009 01:31:00 PM (15 years ago)
Author:
ryan
Message:

Split add new plugin dashboard into search and upload.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/plugin-install.php

    r10150 r10829  
    2525//These are the tabs which are shown on the page,
    2626$tabs = array();
    27 $tabs['dashboard'] = __('Start Page'); //TODO: Better name?
     27$tabs['dashboard'] = __('Search'); //TODO: Better name?
    2828if ( 'search' == $tab )
    2929    $tabs['search'] = __('Search Results');
     30$tabs['upload'] = __('Upload');
    3031$tabs['featured'] = __('Featured');
    3132$tabs['popular']  = __('Popular');
     
    3334$tabs['updated']  = __('Recently Updated');
    3435
    35 $nonmenu_tabs = array('install', 'plugin-information', 'upload'); //Valid actions to perform which do not have a Menu item.
     36$nonmenu_tabs = array('install', 'plugin-information', 'do_upload'); //Valid actions to perform which do not have a Menu item.
    3637
    3738$tabs = apply_filters('install_plugins_tabs', $tabs );
Note: See TracChangeset for help on using the changeset viewer.