Changeset 15690 for trunk/wp-includes/class.wp-xmlrpc-server.php
- Timestamp:
- 10/03/2010 07:29:44 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/class.wp-xmlrpc-server.php
r15648 r15690 860 860 * 861 861 * @param array $args Method parameters. 862 * @return mixed See {@link wp_delete_ category()} for return info.862 * @return mixed See {@link wp_delete_term()} for return info. 863 863 */ 864 864 function wp_deleteCategory($args) { … … 878 878 return new IXR_Error( 401, __( "Sorry, you do not have the right to delete a category." ) ); 879 879 880 return wp_delete_ category( $category_id);880 return wp_delete_term( $category_id, 'category' ); 881 881 } 882 882
Note: See TracChangeset
for help on using the changeset viewer.