WordPress.org

Make WordPress Core

Changeset 8928


Ignore:
Timestamp:
09/18/2008 05:27:07 PM (10 years ago)
Author:
azaozz
Message:

_post_row() is "out of the loop", so it needs post id to find the tags

File:
1 edited

Legend:

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

    r8923 r8928  
    914914        ?>
    915915        <td <?php echo $attributes ?>><?php
    916             $tags = get_the_tags();
     916            $tags = get_the_tags($post->ID);
    917917            if ( !empty( $tags ) ) {
    918918                $out = array();
Note: See TracChangeset for help on using the changeset viewer.