git-svn-id: http://svn.automattic.com/wordpress/trunk@2407 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
matt 2005-03-04 20:43:57 +00:00
parent 2f10c8b2f3
commit 4b3cb04c1b

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) {