Changeset 45932 for trunk/src/wp-admin/users.php
- Timestamp:
- 09/03/2019 12:39:13 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/users.php
r45926 r45932 290 290 $user = get_userdata( $id ); 291 291 if ( $id == $current_user->ID ) { 292 /* translators: 1: user ID, 2: user login*/292 /* translators: 1: User ID, 2: User login. */ 293 293 echo '<li>' . sprintf( __( 'ID #%1$s: %2$s <strong>The current user will not be deleted.</strong>' ), $id, $user->user_login ) . "</li>\n"; 294 294 } else { 295 /* translators: 1: user ID, 2: user login*/295 /* translators: 1: User ID, 2: User login. */ 296 296 echo '<li><input type="hidden" name="users[]" value="' . esc_attr( $id ) . '" />' . sprintf( __( 'ID #%1$s: %2$s' ), $id, $user->user_login ) . "</li>\n"; 297 297 $go_delete++; … … 428 428 $user = get_userdata( $id ); 429 429 if ( ! current_user_can( 'remove_user', $id ) ) { 430 /* translators: 1: user ID, 2: user login*/430 /* translators: 1: User ID, 2: User login. */ 431 431 echo '<li>' . sprintf( __( 'ID #%1$s: %2$s <strong>Sorry, you are not allowed to remove this user.</strong>' ), $id, $user->user_login ) . "</li>\n"; 432 432 } else { 433 /* translators: 1: user ID, 2: user login*/433 /* translators: 1: User ID, 2: User login. */ 434 434 echo "<li><input type=\"hidden\" name=\"users[]\" value=\"{$id}\" />" . sprintf( __( 'ID #%1$s: %2$s' ), $id, $user->user_login ) . "</li>\n"; 435 435 $go_remove = true; … … 485 485 $message = __( 'User deleted.' ); 486 486 } else { 487 /* translators: %s: number of users*/487 /* translators: %s: Number of users. */ 488 488 $message = _n( '%s user deleted.', '%s users deleted.', $delete_count ); 489 489 } … … 569 569 570 570 if ( strlen( $usersearch ) ) { 571 /* translators: %s: search keywords*/571 /* translators: %s: Search query. */ 572 572 printf( '<span class="subtitle">' . __( 'Search results for “%s”' ) . '</span>', esc_html( $usersearch ) ); 573 573 }
Note: See TracChangeset
for help on using the changeset viewer.