From 0cc1c1104998bc4c0e4a4a484e6467f6b1fa0c6b Mon Sep 17 00:00:00 2001 From: "Dominik Schilling (ocean90)" Date: Mon, 19 Mar 2018 20:55:20 +0000 Subject: [PATCH] Users: Don't show roles dropdown on user-edit.php if current user cannot promote user. Fixes #43580. git-svn-id: https://develop.svn.wordpress.org/trunk@42856 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/user-edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-admin/user-edit.php b/src/wp-admin/user-edit.php index 8a301df12c..b1547886d5 100644 --- a/src/wp-admin/user-edit.php +++ b/src/wp-admin/user-edit.php @@ -391,7 +391,7 @@ if ( IS_PROFILE_PAGE ) { - +ID ) ) : ?>