_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:
parent
0853ba158c
commit
3111976b98
|
@ -913,7 +913,7 @@ function _post_row($a_post, $pending_comments, $mode) {
|
||||||
case 'tags':
|
case 'tags':
|
||||||
?>
|
?>
|
||||||
<td <?php echo $attributes ?>><?php
|
<td <?php echo $attributes ?>><?php
|
||||||
$tags = get_the_tags();
|
$tags = get_the_tags($post->ID);
|
||||||
if ( !empty( $tags ) ) {
|
if ( !empty( $tags ) ) {
|
||||||
$out = array();
|
$out = array();
|
||||||
foreach ( $tags as $c )
|
foreach ( $tags as $c )
|
||||||
|
|
Loading…
Reference in New Issue