Ticket #22479: mt_setPostCategories.diff
File mt_setPostCategories.diff, 484 bytes (added by , 12 years ago) |
---|
-
wp-includes/class-wp-xmlrpc-server.php
5218 5218 if ( !current_user_can('edit_post', $post_ID) ) 5219 5219 return new IXR_Error(401, __('Sorry, you cannot edit this post.')); 5220 5220 5221 $catids = array(); 5221 5222 foreach ( $categories as $cat ) { 5222 5223 $catids[] = $cat['categoryId']; 5223 5224 }