Changeset 17069 for trunk/wp-admin/users.php
- Timestamp:
- 12/19/2010 10:27:30 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/users.php
r17010 r17069 344 344 <div class="wrap"> 345 345 <?php screen_icon(); ?> 346 <h2><?php echo esc_html( $title ); if ( current_user_can( 'create_users' ) || current_user_can( 'promote_users' ) ) { ?> <a href="user-new.php" class="button add-new-h2"><?php echo esc_html_x('Add New', 'user'); ?></a><?php } 346 <h2> 347 <?php 348 echo esc_html( $title ); 349 if ( current_user_can( 'create_users' ) ) { ?> 350 <a href="user-new.php" class="button add-new-h2"><?php echo esc_html_x( 'Add New', 'user' ); ?></a> 351 <?php } elseif ( current_user_can( 'promote_users' ) ) { ?> 352 <a href="user-new.php" class="button add-new-h2"><?php echo esc_html_x( 'Add Existing', 'user' ); ?></a> 353 <?php } 354 347 355 if ( $usersearch ) 348 356 printf( '<span class="subtitle">' . __('Search results for “%s”') . '</span>', esc_html( $usersearch ) ); ?>
Note: See TracChangeset
for help on using the changeset viewer.