diff --git a/wp-includes/functions-post.php b/wp-includes/functions-post.php index 39cd2853fb..df6175f440 100644 --- a/wp-includes/functions-post.php +++ b/wp-includes/functions-post.php @@ -141,7 +141,7 @@ function wp_update_post($postarr = array()) { $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);