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-admin/privacy.php

    r43147 r43155  
    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.