mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
Add manage_comments_custom_column hook. Props sirzooro, coffee2code. fixes #9583
git-svn-id: http://svn.automattic.com/wordpress/trunk@11007 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
efc5be4569
commit
e2e37d209e
@ -2212,6 +2212,12 @@ function _wp_comment_row( $comment_id, $mode, $comment_status, $checkbox = true,
|
||||
echo "<a href='" . get_permalink( $post->ID ) . "'>#</a>";
|
||||
echo '</div></td>';
|
||||
}
|
||||
break;
|
||||
default:
|
||||
echo "<td $attributes>\n";
|
||||
do_action( 'manage_comments_custom_column', $column_name, $comment->comment_ID );
|
||||
echo "</td>\n";
|
||||
break;
|
||||
}
|
||||
}
|
||||
echo "</tr>\n";
|
||||
|
Loading…
Reference in New Issue
Block a user