mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-30 23:30:05 +00:00
s/get_post_tags/wp_get_post_tags/ to match the rest of the API.
git-svn-id: https://develop.svn.wordpress.org/trunk@5231 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user