Ticket #49251: 49251.patch
| File 49251.patch, 595 bytes (added by , 6 years ago) |
|---|
-
wp-includes/class-wp-xmlrpc-server.php
3847 3847 if ( ! $user ) { 3848 3848 $logged_in = false; 3849 3849 if ( $allow_anon && get_option( 'comment_registration' ) ) { 3850 return new IXR_Error( 403, __( ' You must be registeredto comment.' ) );3850 return new IXR_Error( 403, __( 'Sorry, you must be logged in to comment.' ) ); 3851 3851 } elseif ( ! $allow_anon ) { 3852 3852 return $this->error; 3853 3853 }