WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/03/2018 07:30:49 PM (4 years ago)
Author:
azaozz
Message:

Privacy: rename manage_privacy_policy to manage_privacy_options.

Props desrosj.
FIxes #43935.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/capabilities.php

    r43147 r43155  
    558558        case 'export_others_personal_data':
    559559        case 'erase_others_personal_data':
    560         case 'manage_privacy_policy':
     560        case 'manage_privacy_options':
    561561            $caps[] = is_multisite() ? 'manage_network' : 'manage_options';
    562562            break;
Note: See TracChangeset for help on using the changeset viewer.