Remove unneeded arg.

git-svn-id: https://develop.svn.wordpress.org/trunk@3180 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2005-11-21 08:35:05 +00:00
parent 83de96a484
commit 065bca2c32

View File

@ -526,7 +526,7 @@ class wp_xmlrpc_server extends IXR_Server {
}
$user = new WP_User($user_login);
if ( !$user->has_cap('publish_posts', $post_ID) )
if ( !$user->has_cap('publish_posts') )
return new IXR_Error(401, 'Sorry, you can not post on this weblog or category.');
$post_author = $user->ID;