- Timestamp:
- 05/25/2019 12:12:22 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-users-list-table.php
r44574 r45407 432 432 $actions['delete'] = "<a class='submitdelete' href='" . wp_nonce_url( "users.php?action=delete&user=$user_object->ID", 'bulk-users' ) . "'>" . __( 'Delete' ) . '</a>'; 433 433 } 434 if ( is_multisite() && get_current_user_id() != $user_object->ID &¤t_user_can( 'remove_user', $user_object->ID ) ) {434 if ( is_multisite() && current_user_can( 'remove_user', $user_object->ID ) ) { 435 435 $actions['remove'] = "<a class='submitdelete' href='" . wp_nonce_url( $url . "action=remove&user=$user_object->ID", 'bulk-users' ) . "'>" . __( 'Remove' ) . '</a>'; 436 436 }
Note: See TracChangeset
for help on using the changeset viewer.