mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-03 06:57:35 +01:00
Grammar fix. Props thenlich and hansengel. fixes #5991
git-svn-id: http://svn.automattic.com/wordpress/trunk@7021 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
0b5c3cce1e
commit
428d820978
@ -692,7 +692,7 @@ class wp_xmlrpc_server extends IXR_Server {
|
||||
|
||||
set_current_user( 0, $username );
|
||||
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');
|
||||
|
Loading…
Reference in New Issue
Block a user