diff options
Diffstat (limited to 'wp-inst/xmlrpc.php')
| -rw-r--r-- | wp-inst/xmlrpc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wp-inst/xmlrpc.php b/wp-inst/xmlrpc.php index 753a8c8..d0942dd 100644 --- a/wp-inst/xmlrpc.php +++ b/wp-inst/xmlrpc.php @@ -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; |
