mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-15 15:16:29 +01: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. Built from https://develop.svn.wordpress.org/trunk@34524 git-svn-id: http://core.svn.wordpress.org/trunk@34488 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
2c23ca7411
commit
59279c5f8b
@ -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;
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.4-alpha-34523';
|
||||
$wp_version = '4.4-alpha-34524';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user