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
This commit is contained in:
ryan 2007-04-10 18:30:55 +00:00
parent d76a895798
commit 246db4315f
2 changed files with 2 additions and 2 deletions

View File

@ -183,7 +183,7 @@ function get_the_tags( $before, $sep, $after ) {
if ( !$post ) if ( !$post )
return false; // in-the-loop function return false; // in-the-loop function
$tags = get_post_tags( $post->ID ); $tags = wp_get_post_tags( $post->ID );
if ( empty( $tags ) ) if ( empty( $tags ) )
return false; return false;

View File

@ -458,7 +458,7 @@ function wp_get_post_categories($post_id = 0) {
return array_unique($cat_ids); 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; global $tag_cache, $blog_id;
$post_id = (int) $post_id; $post_id = (int) $post_id;