Make WordPress Core

Changeset 46782


Ignore:
Timestamp:
11/25/2019 01:59:02 PM (4 years ago)
Author:
SergeyBiryukov
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/user-edit.php

    r45932 r46782  
    759759
    760760                    if ( $value ) {
    761                         $output .= $value;
     761                        $output .= $cap;
    762762                    } else {
    763763                        /* translators: %s: Capability name. */
Note: See TracChangeset for help on using the changeset viewer.