WordPress.org

Make WordPress Core

Changeset 46783


Ignore:
Timestamp:
11/25/2019 02:00:22 PM (22 months 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.
Merges [46782] to the 5.3 branch.
Fixes #48725.

Location:
branches/5.3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/5.3

  • branches/5.3/src/wp-admin/user-edit.php

    r45932 r46783  
    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.