WordPress.org

Make WordPress Core

Changeset 48217


Ignore:
Timestamp:
06/29/2020 11:07:09 PM (6 days ago)
Author:
SergeyBiryukov
Message:

Tests: Remove unnecessary i18n from _wp_update_comment_data_filter().

Follow-up to [48154].

See #39732.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/ajax/EditComment.php

    r48154 r48217  
    164164     */
    165165    public function _wp_update_comment_data_filter( $data, $comment, $commentarr ) {
    166         return new WP_Error( 'comment_wrong', __( 'wp_update_comment_data filter fails for this comment.' ), 500 );
     166        return new WP_Error( 'comment_wrong', 'wp_update_comment_data filter fails for this comment.', 500 );
    167167    }
    168168
Note: See TracChangeset for help on using the changeset viewer.