Make WordPress Core

Ticket #40664: comment.patch

File comment.patch, 349 bytes (added by zakalwe, 7 years ago)
  • .php

    old new  
    30693069        }
    30703070
    30713071        if ( '' == $comment_content ) {
     3072                do_action("require_valid_comment", $comment_post_ID);
    30723073                return new WP_Error( 'require_valid_comment', __( '<strong>ERROR</strong>: please type a comment.' ), 200 );
    30733074        }
    30743075