git-svn-id: https://develop.svn.wordpress.org/trunk@2407 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg 2005-03-04 20:43:57 +00:00
parent 196315a23f
commit 651f4d0631
1 changed files with 3 additions and 2 deletions

View File

@ -139,12 +139,13 @@ function wp_update_post($postarr = array()) {
WHERE ID = $ID";
$result = $wpdb->query($sql);
$rows_affected = $wpdb->rows_affected;
wp_set_post_cats('', $ID, $post_category);
wp_set_post_cats('', $ID, $post_category)
do_action('edit_post', $ID);
return $wpdb->rows_affected;
return $rows_affected;
}
function wp_get_post_cats($blogid = '1', $post_ID = 0) {