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
This commit is contained in:
parent
752d7496b4
commit
29f0d74599
@ -758,7 +758,7 @@ endif; //!IS_PROFILE_PAGE
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ( $value ) {
|
if ( $value ) {
|
||||||
$output .= $value;
|
$output .= $cap;
|
||||||
} else {
|
} else {
|
||||||
/* translators: %s: Capability name. */
|
/* translators: %s: Capability name. */
|
||||||
$output .= sprintf( __( 'Denied: %s' ), $cap );
|
$output .= sprintf( __( 'Denied: %s' ), $cap );
|
||||||
|
Loading…
Reference in New Issue
Block a user