Changeset 52029 for trunk/src/wp-includes/comment.php
- Timestamp:
- 11/07/2021 09:13:11 PM (23 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/comment.php
r51837 r52029 3550 3550 if ( get_option( 'require_name_email' ) && ! $user->exists() ) { 3551 3551 if ( '' == $comment_author_email || '' == $comment_author ) { 3552 return new WP_Error( 'require_name_email', __( '<strong>Error</strong>: Please fill the required fields (name, email).' ), 200 );3552 return new WP_Error( 'require_name_email', __( '<strong>Error</strong>: Please fill the required fields.' ), 200 ); 3553 3553 } elseif ( ! is_email( $comment_author_email ) ) { 3554 3554 return new WP_Error( 'require_valid_email', __( '<strong>Error</strong>: Please enter a valid email address.' ), 200 );
Note: See TracChangeset
for help on using the changeset viewer.