Tests: Remove unnecessary i18n from `_wp_update_comment_data_filter()`.

Follow-up to [48154].

See #39732.

git-svn-id: https://develop.svn.wordpress.org/trunk@48217 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2020-06-29 23:07:09 +00:00
parent 726b1f664c
commit 8b31484919
1 changed files with 1 additions and 1 deletions

View File

@ -163,7 +163,7 @@ class Tests_Ajax_EditComment extends WP_Ajax_UnitTestCase {
* Block comments from being updated by returning WP_Error
*/
public function _wp_update_comment_data_filter( $data, $comment, $commentarr ) {
return new WP_Error( 'comment_wrong', __( 'wp_update_comment_data filter fails for this comment.' ), 500 );
return new WP_Error( 'comment_wrong', 'wp_update_comment_data filter fails for this comment.', 500 );
}
/**