Deprecate wp_get/set_post_cats() in favor of wp_get/set_post_categories().

git-svn-id: https://develop.svn.wordpress.org/trunk@3849 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2006-06-06 05:04:41 +00:00
parent 54a665ff4d
commit 53d59dd1f0
4 changed files with 26 additions and 18 deletions
+8
View File
@@ -462,4 +462,12 @@ function list_authors($optioncount = false, $exclude_admin = true, $show_fullnam
return wp_list_authors($args);
}
function wp_get_post_cats($blogid = '1', $post_ID = 0) {
return wp_get_post_categories($post_ID);
}
function wp_set_post_cats($blogid = '1', $post_ID = 0, $post_categories = array()) {
return wp_set_post_categories($post_ID, $post_categories);
}
?>