Ticket #5991: 5991.r7019.diff
| File 5991.r7019.diff, 491 bytes (added by hansengel, 9 months ago) |
|---|
-
xmlrpc.php
old new 692 692 693 693 set_current_user( 0, $username ); 694 694 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.' ) ); 696 696 } 697 697 698 698 do_action('xmlrpc_call', 'wp.getCommentCount');
