WordPress.org

Make WordPress Core


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

Privacy: rename manage_privacy_policy to manage_privacy_options.

Props desrosj.
Merges [43155] to the 4.9 branch.
Fixes #43935.

Location:
branches/4.9
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.9

  • branches/4.9/src/wp-includes/capabilities.php

    r43153 r43156  
    542542    case 'export_others_personal_data':
    543543    case 'erase_others_personal_data':
    544     case 'manage_privacy_policy':
     544    case 'manage_privacy_options':
    545545        $caps[] = is_multisite() ? 'manage_network' : 'manage_options';
    546546        break;
Note: See TracChangeset for help on using the changeset viewer.