From 246db4315fdf22de10fd09bb1d8f4bbf4e8e7bdf Mon Sep 17 00:00:00 2001 From: ryan Date: Tue, 10 Apr 2007 18:30:55 +0000 Subject: [PATCH] s/get_post_tags/wp_get_post_tags/ to match the rest of the API. git-svn-id: http://svn.automattic.com/wordpress/trunk@5231 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/category-template.php | 2 +- wp-includes/post.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/category-template.php b/wp-includes/category-template.php index 8399fe7146..8432048f27 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 b407065dab..6ec14aaaec 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;