Changeset 18841 for trunk/wp-comments-post.php
- Timestamp:
- 09/30/2011 05:18:35 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-comments-post.php
r16847 r18841 76 76 if ( get_option('require_name_email') && !$user->ID ) { 77 77 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).') ); 79 79 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.') ); 81 81 } 82 82 83 83 if ( '' == $comment_content ) 84 wp_die( __(' Error: please type a comment.') );84 wp_die( __('<strong>ERROR</strong>: please type a comment.') ); 85 85 86 86 $comment_parent = isset($_POST['comment_parent']) ? absint($_POST['comment_parent']) : 0;
Note: See TracChangeset
for help on using the changeset viewer.