Make WordPress Core

Changeset 34524


Ignore:
Timestamp:
09/24/2015 09:47:51 PM (9 years ago)
Author:
wonderboymusic
Message:

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.

Location:
trunk
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/comment-functions.php

    r34522 r34524  
    238238        /* translators: comment status */
    239239        'spam'      => _x('Spam', 'adjective'),
     240        /* translators: comment status */
     241        'trash'     => _x('Trash', 'adjective'),
    240242    );
    241243
Note: See TracChangeset for help on using the changeset viewer.