mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
wp_insert_term() and wp_update_term(). see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5522 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -289,7 +289,7 @@ function wp_create_tag($tag_name) {
|
||||
if ( $id = tag_exists($tag_name) )
|
||||
return $id;
|
||||
|
||||
$tag_id = add_term($tag_name, 'post_tag');
|
||||
$tag_id = wp_insert_term($tag_name, 'post_tag');
|
||||
}
|
||||
|
||||
function wp_delete_user($id, $reassign = 'novalue') {
|
||||
|
||||
Reference in New Issue
Block a user