Make WordPress Core


Ignore:
Timestamp:
09/17/2011 10:26:01 PM (13 years ago)
Author:
nacin
Message:

Force the admin bar on in the admin as it is now integrated. Removes the second UI option. Leaves out the upgrade routine for now. see #18197.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/user-edit.php

    r17975 r18700  
    214214<?php endif; ?>
    215215<tr class="show-admin-bar">
    216 <th scope="row"><?php _e('Show Admin Bar')?></th>
    217 <td><fieldset><legend class="screen-reader-text"><span><?php _e('Show Admin Bar') ?></span></legend>
     216<th scope="row"><?php _e('Admin Bar')?></th>
     217<td><fieldset><legend class="screen-reader-text"><span><?php _e('Admin Bar') ?></span></legend>
    218218<label for="admin_bar_front">
    219 <input name="admin_bar_front" type="checkbox" id="admin_bar_front" value="1" <?php checked( _get_admin_bar_pref( 'front', $profileuser->ID ) ); ?> />
    220 <?php /* translators: Show admin bar when viewing site */ _e( 'when viewing site' ); ?></label><br />
    221 <label for="admin_bar_admin">
    222 <input name="admin_bar_admin" type="checkbox" id="admin_bar_admin" value="1" <?php checked( _get_admin_bar_pref( 'admin', $profileuser->ID ) ); ?> />
    223 <?php /* translators: Show admin bar in dashboard */ _e( 'in dashboard' ); ?></label></fieldset>
     219<input name="admin_bar_front" type="checkbox" id="admin_bar_front" value="1"<?php checked( _get_admin_bar_pref( 'front', $profileuser->ID ) ); ?> />
     220<?php _e( 'Show Admin Bar when viewing site' ); ?></label><br />
     221</fieldset>
    224222</td>
    225223</tr>
Note: See TracChangeset for help on using the changeset viewer.