mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-02 03:34:33 +00:00
Comments: In get_comment_statuses(), also return trash.
XML-RPC: In `wp_xmlrpc_server::wp_editComment()`, allow comments to be trashed. Introduce unit tests for `wp_editComment` in `xmlrpc/*` #NeverForget Props tyxla, wonderboymusic. Fixes #30965. git-svn-id: https://develop.svn.wordpress.org/trunk@34524 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -237,6 +237,8 @@ function get_comment_statuses() {
|
||||
'approve' => _x('Approved', 'adjective'),
|
||||
/* translators: comment status */
|
||||
'spam' => _x('Spam', 'adjective'),
|
||||
/* translators: comment status */
|
||||
'trash' => _x('Trash', 'adjective'),
|
||||
);
|
||||
|
||||
return $status;
|
||||
|
||||
Reference in New Issue
Block a user