Remove unneeded arg.

git-svn-id: http://svn.automattic.com/wordpress/trunk@3180 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2005-11-21 08:35:05 +00:00
parent d6b41824e8
commit ab4bbdab05
1 changed files with 1 additions and 1 deletions

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;