Changeset 23636 for trunk/wp-includes/class-wp-xmlrpc-server.php
- Timestamp:
- 03/07/2013 06:52:37 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/class-wp-xmlrpc-server.php
r23591 r23636 3785 3785 return $this->error; 3786 3786 3787 if ( ! current_user_can( 'edit_posts' ) ) 3788 return new IXR_Error( 401, __( 'Sorry, you cannot edit posts on this site.' ) ); 3789 3787 3790 do_action('xmlrpc_call', 'blogger.getRecentPosts'); 3788 3791 … … 4757 4760 if ( !$user = $this->login($username, $password) ) 4758 4761 return $this->error; 4762 4763 if ( ! current_user_can( 'edit_posts' ) ) 4764 return new IXR_Error( 401, __( 'Sorry, you cannot edit posts on this site.' ) ); 4759 4765 4760 4766 do_action('xmlrpc_call', 'metaWeblog.getRecentPosts');
Note: See TracChangeset
for help on using the changeset viewer.