Definition:
function akismet_comment_status_meta_box($comment) {}
Parameters
- $comment
Source code
function akismet_comment_status_meta_box($comment) {
$history = akismet_get_comment_history( $comment->comment_ID );
if ( $history ) {
echo '<div class="akismet-history" style="margin: 13px;">';
foreach ( $history as $row ) {
$time = date( 'D d M Y @ h:i:m a', $row['time'] ) . ' GMT';
echo '<div style="margin-bottom: 13px;"><span style="color: #999;" alt="' . $time . '" title="' . $time . '">' . sprintf( __('%s ago'), human_time_diff( $row['time'] ) ) . '</span> - ';
echo htmlspecialchars( $row['message'] ) . '</div>';
}
echo '</div>';
}
}
435

February 11, 2011 


No comments yet... Be the first to leave a reply!