Make WordPress Core


Ignore:
Timestamp:
09/30/2011 05:18:35 PM (13 years ago)
Author:
markjaquith
Message:

Be more consistent with ERROR: messages. fixes #15887

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-comments-post.php

    r16847 r18841  
    7676if ( get_option('require_name_email') && !$user->ID ) {
    7777    if ( 6 > strlen($comment_author_email) || '' == $comment_author )
    78         wp_die( __('Error: please fill the required fields (name, email).') );
     78        wp_die( __('<strong>ERROR</strong>: please fill the required fields (name, email).') );
    7979    elseif ( !is_email($comment_author_email))
    80         wp_die( __('Error: please enter a valid email address.') );
     80        wp_die( __('<strong>ERROR</strong>: please enter a valid email address.') );
    8181}
    8282
    8383if ( '' == $comment_content )
    84     wp_die( __('Error: please type a comment.') );
     84    wp_die( __('<strong>ERROR</strong>: please type a comment.') );
    8585
    8686$comment_parent = isset($_POST['comment_parent']) ? absint($_POST['comment_parent']) : 0;
Note: See TracChangeset for help on using the changeset viewer.