Hook compatibility

git-svn-id: https://develop.svn.wordpress.org/trunk@2830 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg 2005-08-30 23:24:12 +00:00
parent b45449067d
commit fcb947a434
1 changed files with 2 additions and 1 deletions

View File

@ -264,7 +264,8 @@ function wp_insert_category($catarr) {
do_action('edit_category', $cat_ID);
} else {
$rval = $wpdb->insert_id;
do_action('create_category', $cat_ID);
do_action('create_category', $rval);
do_action('add_category', $rval);
}
return $rval;