WordPress.org

Make WordPress Core

Opened 9 months ago

Closed 9 months ago

Last modified 9 months ago

#38803 closed defect (bug) (fixed)

Unifying permission error messages in Rest API

Reported by: ramiy Owned by: SergeyBiryukov
Milestone: 4.7 Priority: normal
Severity: normal Version: 4.7
Component: I18N Keywords: has-patch
Focuses: Cc:

Description

In #34521 we unifying permission error messages all over the code. The new Rest API added many new strings that not comply those rules.

This ticket updates all those new strings, and in many cases merges similar strings, reducing the number of total strings.

Attachments (2)

38803.patch (14.4 KB) - added by ramiy 9 months ago.
38803.2.patch (2.0 KB) - added by ramiy 9 months ago.

Download all attachments as: .zip

Change History (8)

@ramiy
9 months ago

#1 @ramiy
9 months ago

  • Keywords has-patch added

#2 @SergeyBiryukov
9 months ago

  • Milestone changed from Awaiting Review to 4.7

#3 @SergeyBiryukov
9 months ago

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

In 39257:

REST API: Unify permission error messages.

Props ramiy.
Fixes #38803.

@ramiy
9 months ago

#4 @ramiy
9 months ago

  • Resolution fixed deleted
  • Status changed from closed to reopened

@SergeyBiryukov, Seems like I didn't save the last file when creating the patch. The second patch has the missing file.

#5 @SergeyBiryukov
9 months ago

  • Resolution set to fixed
  • Status changed from reopened to closed

In 39259:

REST API: Unify some more permission error messages.

Props ramiy.
Fixes #38803.

#6 @ramiy
9 months ago

Related: #38822

Note: See TracTickets for help on using tickets.