Changeset 17849 for trunk/wp-admin/network/users.php
- Timestamp:
- 05/10/2011 07:18:16 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/network/users.php
r17800 r17849 73 73 <div class="wrap"> 74 74 <?php screen_icon(); ?> 75 <h2><?php 76 esc_html_e( 'Users' ); 77 if ( current_user_can( 'create_users' ) ) { 78 favorite_actions( $current_screen ); 79 } 80 if ( !empty( $usersearch ) ) { 81 printf( '<span class="subtitle">' . __( 'Search results for “%s”' ) . '</span>', esc_html( $usersearch ) ); 82 } 75 <h2><?php esc_html_e( 'Users' ); 76 if ( current_user_can( 'create_users') ) : ?> 77 <a href="<?php echo network_admin_url('user-new.php'); ?>" class="button add-new-h2"><?php echo esc_html_x( 'Add New', 'user' ); ?></a><?php 78 endif; 79 80 if ( !empty( $usersearch ) ) 81 printf( '<span class="subtitle">' . __( 'Search results for “%s”' ) . '</span>', esc_html( $usersearch ) ); 83 82 ?> 84 83 </h2>
Note: See TracChangeset
for help on using the changeset viewer.