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:
parent
e0830ac7bc
commit
63fefb540a
|
@ -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 );
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue