Have wp_set_post_terms return wp_set_object_terms. fixes #14301.

git-svn-id: https://develop.svn.wordpress.org/trunk@15402 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2010-07-13 21:01:48 +00:00
parent 11d4c3287c
commit dc3140a664
1 changed files with 1 additions and 1 deletions

View File

@ -2642,7 +2642,7 @@ function wp_set_post_terms( $post_id = 0, $tags = '', $taxonomy = 'post_tag', $a
$tags = array_unique( $tags );
}
wp_set_object_terms($post_id, $tags, $taxonomy, $append);
return wp_set_object_terms($post_id, $tags, $taxonomy, $append);
}
/**