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.
Built from https://develop.svn.wordpress.org/trunk@46782


git-svn-id: http://core.svn.wordpress.org/trunk@46582 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2019-11-25 14:01:03 +00:00
parent e0830ac7bc
commit 63fefb540a
2 changed files with 2 additions and 2 deletions

View File

@ -758,7 +758,7 @@ endif; //!IS_PROFILE_PAGE
}
if ( $value ) {
$output .= $value;
$output .= $cap;
} else {
/* translators: %s: Capability name. */
$output .= sprintf( __( 'Denied: %s' ), $cap );

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.4-alpha-46779';
$wp_version = '5.4-alpha-46782';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.