Hook compatibility
git-svn-id: https://develop.svn.wordpress.org/trunk@2830 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
b45449067d
commit
fcb947a434
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user