Make WordPress Core


Ignore:
Timestamp:
04/06/2007 06:22:54 PM (17 years ago)
Author:
ryan
Message:

Relocate get_post_tags.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/category-template.php

    r5196 r5197  
    179179}
    180180
    181 function get_post_tags( $post_id = 0 ) {
    182     global $tag_cache, $blog_id;
    183 
    184     $post_id = (int) $post_id;
    185    
    186     if ( !isset( $tag_cache[$blog_id][$post_id] ) )
    187         update_post_category_cache( $post_id ); // loads $tag_cache
    188 
    189     return $tag_cache[$blog_id][$post_id];
    190 }
    191 
    192181function get_the_tags( $before, $sep, $after ) {
    193182    global $post;
Note: See TracChangeset for help on using the changeset viewer.