[wp-trac] [WordPress Trac] #39019: i18n: unify error messages in XMLRCP delete methods

WordPress Trac noreply at wordpress.org
Fri Dec 2 00:10:58 UTC 2016


#39019: i18n: unify error messages in XMLRCP delete methods
--------------------------+-----------------------------
 Reporter:  ramiy         |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  I18N          |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 ==== 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.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/39019>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list