Make WordPress Core


Ignore:
Timestamp:
05/03/2018 07:34:21 PM (7 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-admin/privacy.php

    r43153 r43156  
    1010require_once( dirname( __FILE__ ) . '/admin.php' );
    1111
    12 if ( ! current_user_can( 'manage_privacy_policy' ) ) {
     12if ( ! current_user_can( 'manage_privacy_options' ) ) {
    1313    wp_die( __( 'Sorry, you are not allowed to manage privacy on this site.' ) );
    1414}
     
    201201                    <input type="hidden" name="action" value="create-privacy-page" />
    202202                    <span>
    203                         <?php _e( 'Or create a new page:' ); ?> 
     203                        <?php _e( 'Or create a new page:' ); ?>
    204204                    </span>
    205205                    <?php
Note: See TracChangeset for help on using the changeset viewer.