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); } /**