From dc3140a6644b0403b11df59f9a40933d9c586ab8 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Tue, 13 Jul 2010 21:01:48 +0000 Subject: [PATCH] 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 --- wp-includes/post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/post.php b/wp-includes/post.php index 986d3ba658..cfbd21f12f 100644 --- a/wp-includes/post.php +++ b/wp-includes/post.php @@ -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); } /**