Changeset 31090 for trunk/src/wp-comments-post.php
- Timestamp:
- 01/08/2015 07:04:40 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-comments-post.php
r30579 r31090 122 122 if ( 6 > strlen( $comment_author_email ) || '' == $comment_author ) { 123 123 wp_die( __( '<strong>ERROR</strong>: please fill the required fields (name, email).' ), 200 ); 124 } else 124 } elseif ( ! is_email( $comment_author_email ) ) { 125 125 wp_die( __( '<strong>ERROR</strong>: please enter a valid email address.' ), 200 ); 126 126 }
Note: See TracChangeset
for help on using the changeset viewer.