Make WordPress Core

Opened 9 years ago

Closed 9 years ago

#42267 closed defect (bug) (invalid)

i18n: Unify permission error messages in XMLRPC and REST API

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

Description

In the attached screenshot you can see what part of the permission error messages haven't been updated two years ago in ticket #34521.

Attachments (2)

42267.png​ (968.5 KB ) - added by ramiy 9 years ago.
42267.patch​ (4.1 KB ) - added by ramiy 9 years ago.

Download all attachments as: .zip

Change History (7)

@ramiy
9 years ago

@ramiy
9 years ago

#1 @ramiy
9 years ago

  • Keywords has-patch has-screenshots added
  • Summary i18n: Unify permission error messages - few more strings to update → i18n: Unify permission error messages in XMLRPC and REST API

#3 @ocean90
9 years ago

  • Milestone Awaiting Review
  • Resolution → wontfix
  • Status new → closed

"as this user" is the post author so it needs to stay.

#4 @ramiy
9 years ago

  • Resolution wontfix
  • Status closed → reopened

@ocean90 all the permission errors are checked using current_user_can() function. the message structure will always be: "Sorry, you are not allowed to ... as this user".

We should either add the suffix "as this user" to all the strings, or remove it. The goal is to unify the messages.

Please review the ticket again.

#5 @ocean90
9 years ago

  • Resolution → invalid
  • Status reopened → closed

Reviewed and still invalid. The current user tries to set the post author to another user.

Note: See TracTickets for help on using tickets.