Changeset 44574 for trunk/src/wp-admin/user-edit.php
- Timestamp:
- 01/12/2019 06:40:16 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/user-edit.php
r44565 r44574 229 229 <a href="user-new.php" class="page-title-action"><?php echo esc_html_x( 'Add Existing', 'user' ); ?></a> 230 230 <?php 231 }231 } 232 232 } 233 233 ?> … … 305 305 <?php 306 306 endif; // $_wp_admin_css_colors 307 if ( ! ( IS_PROFILE_PAGE && ! $user_can_edit ) ) :308 ?>307 if ( ! ( IS_PROFILE_PAGE && ! $user_can_edit ) ) : 308 ?> 309 309 <tr class="user-comment-shortcuts-wrap"> 310 310 <th scope="row"><?php _e( 'Keyboard Shortcuts' ); ?></th> 311 311 <td><label for="comment_shortcuts"><input type="checkbox" name="comment_shortcuts" id="comment_shortcuts" value="true" <?php checked( 'true', $profileuser->comment_shortcuts ); ?> /> <?php _e( 'Enable keyboard shortcuts for comment moderation.' ); ?></label> <?php _e( '<a href="https://codex.wordpress.org/Keyboard_Shortcuts" target="_blank">More information</a>' ); ?></td> 312 312 </tr> 313 <?php endif; ?>313 <?php endif; ?> 314 314 <tr class="show-admin-bar user-admin-bar-front-wrap"> 315 315 <th scope="row"><?php _e( 'Toolbar' ); ?></th> … … 415 415 endif; //!IS_PROFILE_PAGE 416 416 417 if ( is_multisite() && is_network_admin() && ! IS_PROFILE_PAGE && current_user_can( 'manage_network_options' ) && ! isset( $super_admins ) ) {418 ?>417 if ( is_multisite() && is_network_admin() && ! IS_PROFILE_PAGE && current_user_can( 'manage_network_options' ) && ! isset( $super_admins ) ) { 418 ?> 419 419 <tr class="user-super-admin-wrap"><th><?php _e( 'Super Admin' ); ?></th> 420 420 <td> 421 <?php if ( $profileuser->user_email != get_site_option( 'admin_email' ) || ! is_super_admin( $profileuser->ID ) ) : ?>421 <?php if ( $profileuser->user_email != get_site_option( 'admin_email' ) || ! is_super_admin( $profileuser->ID ) ) : ?> 422 422 <p><label><input type="checkbox" id="super_admin" name="super_admin"<?php checked( is_super_admin( $profileuser->ID ) ); ?> /> <?php _e( 'Grant this user super admin privileges for the Network.' ); ?></label></p> 423 423 <?php else : ?> … … 425 425 <?php endif; ?> 426 426 </td></tr> 427 <?php } ?>427 <?php } ?> 428 428 429 429 <tr class="user-first-name-wrap">
Note: See TracChangeset
for help on using the changeset viewer.