mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-12-06 12:51:58 +00:00
git-svn-id: https://develop.svn.wordpress.org/trunk@13425 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1822,7 +1822,7 @@ function user_row( $user_object, $style = '', $role = '' ) {
|
||||
// Check if the user for this row is editable
|
||||
if ( current_user_can( 'edit_user', $user_object->ID ) ) {
|
||||
// Set up the user editing link
|
||||
// TODO: make profile/user-edit determination a seperate function
|
||||
// TODO: make profile/user-edit determination a separate function
|
||||
if ($current_user->ID == $user_object->ID) {
|
||||
$edit_link = 'profile.php';
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user