Make WordPress Core


Ignore:
Timestamp:
04/14/2016 01:57:31 AM (9 years ago)
Author:
SergeyBiryukov
Message:

Customizer: Remove the 'appearance' reference from permission error messages added in [33857], [33889], and [33902].

Props Frozzare.
Fixes #36466.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-customize-manager.php

    r37077 r37197  
    388388
    389389        if ( ! current_user_can( 'customize' ) ) {
    390             $this->wp_die( -1, __( 'You are not allowed to customize the appearance of this site.' ) );
     390            $this->wp_die( -1, __( 'You are not allowed to customize this site.' ) );
    391391        }
    392392
Note: See TracChangeset for help on using the changeset viewer.