WordPress.org

Make WordPress Core

Opened 11 months ago

Closed 5 hours ago

#39019 closed defect (bug) (fixed)

i18n: unify error messages in XML-RPC delete methods

Reported by: ramiy Owned by: 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 11 months ago.
39019.patch (1.1 KB) - added by ramiy 11 months ago.

Download all attachments as: .zip

Change History (8)

@ramiy
11 months ago

@ramiy
11 months ago

#1 @ramiy
11 months ago

  • Keywords has-patch added

#2 @helen
11 months ago

  • Version changed from trunk to 4.6

#3 @SergeyBiryukov
3 months ago

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

#4 @SergeyBiryukov
3 months 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.


9 days ago

#6 @SergeyBiryukov
5 hours 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.