Grammar fix. Props thenlich and hansengel. fixes #5991
git-svn-id: https://develop.svn.wordpress.org/trunk@7021 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
d9c50f36df
commit
eb6d1ee7c8
|
@ -692,7 +692,7 @@ class wp_xmlrpc_server extends IXR_Server {
|
||||||
|
|
||||||
set_current_user( 0, $username );
|
set_current_user( 0, $username );
|
||||||
if( !current_user_can( 'edit_posts' ) ) {
|
if( !current_user_can( 'edit_posts' ) ) {
|
||||||
return new IXR_Error( 403, __( 'You are not allowed details about comments.' ) );
|
return new IXR_Error( 403, __( 'You are not allowed access to details about comments.' ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
do_action('xmlrpc_call', 'wp.getCommentCount');
|
do_action('xmlrpc_call', 'wp.getCommentCount');
|
||||||
|
|
Loading…
Reference in New Issue