Changeset 59556
- Timestamp:
- 12/22/2024 10:42:35 PM (3 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/comment.php
r59319 r59556 3659 3659 3660 3660 if ( get_option( 'require_name_email' ) && ! $user->exists() ) { 3661 if ( '' == $comment_author_email || ''== $comment_author ) {3661 if ( '' === $comment_author_email || '' === $comment_author ) { 3662 3662 return new WP_Error( 'require_name_email', __( '<strong>Error:</strong> Please fill the required fields.' ), 200 ); 3663 3663 } elseif ( ! is_email( $comment_author_email ) ) {
Note: See TracChangeset
for help on using the changeset viewer.