Make WordPress Core


Ignore:
Timestamp:
12/16/2010 07:13:01 AM (15 years ago)
Author:
nacin
Message:

Network Admin: Rename Options to Settings. Kick the tab to the end as well. see #15314.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/network/site-users.php

    r16983 r16984  
    2525add_contextual_help($current_screen,
    2626    '<p>' . __('The menu is for editing information specific to individual sites, particularly if the admin area of a site is unavailable.') . '</p>' .
    27     '<p>' . __('<strong>Users</strong> This displays the users associated with this site. You can also change their role, reset their passowrd, or remove them from the site. Removing the user from the site does not remove the user from the network. ') . '</p>' .
     27    '<p>' . __('<strong>Users</strong> - This displays the users associated with this site. You can also change their role, reset their passowrd, or remove them from the site. Removing the user from the site does not remove the user from the network. ') . '</p>' .
    2828    '<p>' . __('See the contextual help on the next tab. ') . '</p>' .
    2929    '<p><strong>' . __('For more information:') . '</strong></p>' .
     
    164164<h3 class="nav-tab-wrapper">
    165165<?php
    166 $tabs = array( 'site-info' => array( 'label' => __('Info'), 'url' => 'site-info.php'),  'site-options' => array( 'label' => __('Options'), 'url' => 'site-options.php'),
    167               'site-users' => array( 'label' => __('Users'), 'url' => 'site-users.php'),  'site-themes' => array( 'label' => __('Themes'), 'url' => 'site-themes.php'));
     166$tabs = array(
     167    'site-info'     => array( 'label' => __( 'Info' ),     'url' => 'site-info.php'     ),
     168    'site-users'    => array( 'label' => __( 'Users' ),    'url' => 'site-users.php'    ),
     169    'site-themes'   => array( 'label' => __( 'Themes' ),   'url' => 'site-themes.php'   ),
     170    'site-settings' => array( 'label' => __( 'Settings' ), 'url' => 'site-settings.php' ),
     171);
    168172foreach ( $tabs as $tab_id => $tab ) {
    169173    $class = ( $tab['url'] == $pagenow ) ? ' nav-tab-active' : '';
Note: See TracChangeset for help on using the changeset viewer.