WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#39173 closed enhancement (invalid)

Unifying permission error messages in wp-includes/class-wp-customize-manager.php

Reported by: ramiy Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Customize Keywords: has-patch close
Focuses: Cc:

Description

Related: #34521

Attachments (1)

39173.patch (1.1 KB) - added by ramiy 4 years ago.

Download all attachments as: .zip

Change History (5)

@ramiy
4 years ago

#1 @ramiy
4 years ago

  • Keywords has-patch added

This message format applies for !current_user_can() checks.

#2 @ocean90
4 years ago

  • Type changed from defect (bug) to enhancement

Unauthorized. You may remove the customize_messenger_channel param to preview as frontend. and Sorry, you are not allowed to remove the customize_messenger_channel param to preview as frontend. are not the same. The current message suggest to remove the parameter which means you're allowed to do so.

#3 @ramiy
4 years ago

  • Keywords close added

Ok, I see my mistake.

#4 @westonruter
4 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.