Make WordPress Core

Opened 9 years ago

Closed 9 years ago

#36466 closed defect (bug) (fixed)

Remove "appearance" reference in customizer permissions error

Reported by: celloexpressions's profile celloexpressions Owned by: sergeybiryukov's profile SergeyBiryukov
Milestone: 4.6 Priority: low
Severity: minor Version: 4.4
Component: Customize Keywords: good-first-bug has-patch commit
Focuses: Cc:

Description

The customizer can be used for things much broader than the appearance of the site, such as menus and widgets. Accordingly, we try to avoid referencing specific things that could be customized when describing what the Customizer does.

#33668 / [33857] introduced a more helpful error message when a user without permissions accesses the customizer. However, it specifically references customizing the appearance of the site. Also note that permission to open the customizer but not make changes can be granted, so due to the varying potential for what exactly this message would mean, going more generic would be good.

You are not allowed to customize the appearance of this site.

Should be changed to:

You are not allowed to customize this site.

Attachments (1)

36466.patch (498 bytes) - added by Frozzare 9 years ago.

Download all attachments as: .zip

Change History (4)

@Frozzare
9 years ago

#1 @Frozzare
9 years ago

  • Keywords has-patch added; needs-patch removed

#2 @celloexpressions
9 years ago

  • Keywords commit added
  • Milestone changed from Future Release to 4.6

This should be good to go.

#3 @SergeyBiryukov
9 years ago

  • Owner set to SergeyBiryukov
  • Resolution set to fixed
  • Status changed from new to closed

In 37197:

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

Props Frozzare.
Fixes #36466.

Note: See TracTickets for help on using tickets.