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

git-svn-id: http://svn.automattic.com/wordpress/trunk@8928 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
azaozz 2008-09-18 17:27:07 +00:00
parent 0853ba158c
commit 3111976b98
1 changed files with 1 additions and 1 deletions

View File

@ -913,7 +913,7 @@ function _post_row($a_post, $pending_comments, $mode) {
case 'tags':
?>
<td <?php echo $attributes ?>><?php
$tags = get_the_tags();
$tags = get_the_tags($post->ID);
if ( !empty( $tags ) ) {
$out = array();
foreach ( $tags as $c )