From 29f0d7459978c139f3e2323570f72297e89b9069 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 25 Nov 2019 13:59:02 +0000 Subject: [PATCH] Users: Use correct variable when displaying the Additional Capabilities list in user profile. Addresses a regression in [45926]. Props wpgurudev, aravindajith, anantajitjg, davidbaumwald. Fixes #48725. git-svn-id: https://develop.svn.wordpress.org/trunk@46782 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 70f6ef1a3d..10e39e8b27 100644 --- a/src/wp-admin/user-edit.php +++ b/src/wp-admin/user-edit.php @@ -758,7 +758,7 @@ endif; //!IS_PROFILE_PAGE } if ( $value ) { - $output .= $value; + $output .= $cap; } else { /* translators: %s: Capability name. */ $output .= sprintf( __( 'Denied: %s' ), $cap );