Changeset 49271 for trunk/src/wp-includes/class-wp-xmlrpc-server.php
- Timestamp:
- 10/22/2020 02:40:06 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-xmlrpc-server.php
r49183 r49271 3914 3914 3915 3915 if ( get_option( 'require_name_email' ) ) { 3916 if ( strlen( $comment['comment_author_email'] < 6 )|| '' === $comment['comment_author'] ) {3916 if ( strlen( $comment['comment_author_email'] ) < 6 || '' === $comment['comment_author'] ) { 3917 3917 return new IXR_Error( 403, __( 'Comment author name and email are required.' ) ); 3918 3918 } elseif ( ! is_email( $comment['comment_author_email'] ) ) {
Note: See TracChangeset
for help on using the changeset viewer.