Ticket #5991: 5991.r7019.diff

File 5991.r7019.diff, 491 bytes (added by hansengel, 9 months ago)

patch-ified solution

  • xmlrpc.php

    old new  
    692692 
    693693                set_current_user( 0, $username ); 
    694694                if( !current_user_can( 'edit_posts' ) ) { 
    695                         return new IXR_Error( 403, __( 'You are not allowed details about comments.' ) ); 
     695                        return new IXR_Error( 403, __( 'You are not allowed access to details about comments.' ) ); 
    696696                } 
    697697 
    698698                do_action('xmlrpc_call', 'wp.getCommentCount');