Changeset 40667 for trunk/src/wp-includes/comment.php
- Timestamp:
- 05/14/2017 04:19:51 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/comment.php
r40664 r40667 3066 3066 3067 3067 if ( get_option( 'require_name_email' ) && ! $user->exists() ) { 3068 if ( 6 > strlen( $comment_author_email )|| '' == $comment_author ) {3068 if ( '' == $comment_author_email || '' == $comment_author ) { 3069 3069 return new WP_Error( 'require_name_email', __( '<strong>ERROR</strong>: please fill the required fields (name, email).' ), 200 ); 3070 3070 } elseif ( ! is_email( $comment_author_email ) ) {
Note: See TracChangeset
for help on using the changeset viewer.