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

git-svn-id: https://develop.svn.wordpress.org/trunk@8928 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz 2008-09-18 17:27:07 +00:00
parent a98c49b45c
commit ce738eaae4

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 )