Make WordPress Core

Opened 8 years ago

Closed 7 years ago

#39019 closed defect (bug) (fixed)

i18n: unify error messages in XML-RPC delete methods

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

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 8 years ago.
39019.patch (1.1 KB) - added by ramiy 8 years ago.

Download all attachments as: .zip

Change History (8)

@ramiy
8 years ago

@ramiy
8 years ago

#1 @ramiy
8 years ago

  • Keywords has-patch added

#2 @helen
8 years ago

  • Version changed from trunk to 4.6

#3 @SergeyBiryukov
8 years ago

  • Milestone changed from Awaiting Review to 4.9
  • Owner set to SergeyBiryukov
  • Status changed from new to reviewing

#4 @SergeyBiryukov
8 years ago

  • Summary changed from i18n: unify error messages in XMLRCP delete methods to i18n: unify error messages in XML-RPC delete methods

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


7 years ago

#6 @SergeyBiryukov
7 years ago

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

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.