Ticket #40664: comment.patch
File comment.patch, 349 bytes (added by , 7 years ago) |
---|
-
.php
old new 3069 3069 } 3070 3070 3071 3071 if ( '' == $comment_content ) { 3072 do_action("require_valid_comment", $comment_post_ID); 3072 3073 return new WP_Error( 'require_valid_comment', __( '<strong>ERROR</strong>: please type a comment.' ), 200 ); 3073 3074 } 3074 3075