Make WordPress Core

Ticket #49251: 49251.patch

File 49251.patch, 595 bytes (added by ramiy, 6 years ago)
  • wp-includes/class-wp-xmlrpc-server.php

     
    38473847                if ( ! $user ) {
    38483848                        $logged_in = false;
    38493849                        if ( $allow_anon && get_option( 'comment_registration' ) ) {
    3850                                 return new IXR_Error( 403, __( 'You must be registered to comment.' ) );
     3850                                return new IXR_Error( 403, __( 'Sorry, you must be logged in to comment.' ) );
    38513851                        } elseif ( ! $allow_anon ) {
    38523852                                return $this->error;
    38533853                        }