Changeset 48228 for trunk/tests/phpunit/tests/comment.php
- Timestamp:
- 06/30/2020 11:34:58 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/comment.php
r48154 r48228 162 162 163 163 /** 164 * Block comments from being updated by returning WP_Error164 * Blocks comments from being updated by returning WP_Error. 165 165 */ 166 166 public function _wp_update_comment_data_filter( $data, $comment, $commentarr ) { 167 return new WP_Error( 'comment_wrong', __( 'wp_update_comment_data filter fails for this comment.' ), 500 );167 return new WP_Error( 'comment_wrong', 'wp_update_comment_data filter fails for this comment.', 500 ); 168 168 } 169 169
Note: See TracChangeset
for help on using the changeset viewer.