WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 3 years ago

Last modified 3 years 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:
PR Number:

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 3 years ago.
38803.2.patch (2.0 KB) - added by ramiy 3 years ago.

Download all attachments as: .zip

Change History (8)

@ramiy
3 years ago

#1 @ramiy
3 years ago

  • Keywords has-patch added

#2 @SergeyBiryukov
3 years ago

  • Milestone changed from Awaiting Review to 4.7

#3 @SergeyBiryukov
3 years 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
3 years ago

#4 @ramiy
3 years 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
3 years 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
3 years ago

Related: #38822

Note: See TracTickets for help on using tickets.