From d6c12ac9190e06b0bcfc56fba6cc089ba64b0273 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 25 Nov 2019 14:03: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. 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 --- wp-admin/user-edit.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/user-edit.php b/wp-admin/user-edit.php index 70f6ef1a3d..10e39e8b27 100644 --- a/wp-admin/user-edit.php +++ b/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 ); diff --git a/wp-includes/version.php b/wp-includes/version.php index a47c8c3dc9..a5cac0c4e0 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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.