Make WordPress Core

Opened 10 years ago

Closed 9 years ago

#39019 closed defect (bug) (fixed)

i18n: unify error messages in XML-RPC delete methods

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

Description

Current Messages:

wp_xmlrpc_server::wp_deletePost()

Messages: Sorry, you are not allowed to delete this post.

wp_xmlrpc_server::wp_deletePage()

Messages: Sorry, you are not allowed to delete this page.

wp_xmlrpc_server::wp_deleteTerm()

Messages: Sorry, you are not allowed to delete this term.


Updated Messages:

wp_xmlrpc_server::wp_deleteCategory()

OLD Messages: Sorry, you are not allowed to delete a category.
NEW Messages: Sorry, you are not allowed to delete this category.

wp_xmlrpc_server::wp_deleteComment()

OLD Messages: Sorry, you are not allowed to moderate or edit this comment.
NEW Messages: Sorry, you are not allowed to delete this comment.

Attachments (2)

39019.png (50.4 KB ) - added by ramiy 10 years ago.
39019.patch (1.1 KB ) - added by ramiy 10 years ago.

Download all attachments as: .zip

Change History (8)

@ramiy
10 years ago

@ramiy
10 years ago

#1 @ramiy
10 years ago

  • Keywords has-patch added

#2 @helen
10 years ago

  • Version trunk4.6

#3 @SergeyBiryukov
9 years ago

  • Milestone Awaiting Review4.9
  • Owner set to SergeyBiryukov
  • Status newreviewing

#4 @SergeyBiryukov
9 years ago

  • Summary i18n: unify error messages in XMLRCP delete methodsi18n: unify error messages in XML-RPC delete methods

This ticket was mentioned in Slack in #core by melchoyce. View the logs.


9 years ago

#6 @SergeyBiryukov
9 years ago

  • Resolutionfixed
  • Status reviewingclosed

In 41927:

I18N: Unify error messages in XML-RPC methods wp_deleteCategory() and wp_deleteComment().

Props ramiy.
Fixes #39019.

Note: See TracTickets for help on using tickets.