Users: Use correct variable when displaying the Additional Capabilities list in user profile.

Addresses a regression in [45926].

Props wpgurudev, aravindajith, anantajitjg, davidbaumwald.
Merges [46782] to the 5.3 branch.
Fixes #48725.
Built from https://develop.svn.wordpress.org/branches/5.3@46783


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46583 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2019-11-25 14:03:02 +00:00
parent fd1e68a6a4
commit d6c12ac919
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.3.1-alpha-46781';
$wp_version = '5.3.1-alpha-46783';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.