diff --git a/wp-includes/category-template.php b/wp-includes/category-template.php index 8399fe714..8432048f2 100644 --- a/wp-includes/category-template.php +++ b/wp-includes/category-template.php @@ -183,7 +183,7 @@ function get_the_tags( $before, $sep, $after ) { if ( !$post ) return false; // in-the-loop function - $tags = get_post_tags( $post->ID ); + $tags = wp_get_post_tags( $post->ID ); if ( empty( $tags ) ) return false; diff --git a/wp-includes/post.php b/wp-includes/post.php index b407065da..6ec14aaae 100644 --- a/wp-includes/post.php +++ b/wp-includes/post.php @@ -458,7 +458,7 @@ function wp_get_post_categories($post_id = 0) { return array_unique($cat_ids); } -function get_post_tags( $post_id = 0 ) { +function wp_get_post_tags( $post_id = 0 ) { global $tag_cache, $blog_id; $post_id = (int) $post_id;