protected function comments_bubble($post_id, $pending_comments)
    {
        $pending_phrase = sprintf(__('%s pending'), number_format($pending_comments));

        if ($pending_comments) {
            echo '<strong>';
        }

        echo "<a href='" . esc_url(add_query_arg('p', $post_id, admin_url('edit-comments.php'))) . "' title='" . esc_attr($pending_phrase) . "' class='post-com-count'><span class='comment-count'>" . number_format_i18n(get_comments_number()) . "</span></a>";

        if ($pending_comments) {
            echo '</strong>';
        }
    }
protected function comments_bubble($post_id, $pending_comments)
    {
        $pending_phrase = sprintf(__('%s pending'), number_format($pending_comments));

        if ($pending_comments) {
            echo '<strong>';
        }

        echo "<a href='" . esc_url(add_query_arg('p', $post_id, admin_url('edit-comments.php'))) . "' title='" . esc_attr($pending_phrase) . "' class='post-com-count'><span class='comment-count'>" . number_format_i18n(get_comments_number()) . "</span></a>";

        if ($pending_comments) {
            echo '</strong>';
        }
    }
protected function comments_bubble ( $ post_id , $ pending_comments ) { $ pending_phrase = sprintf ( __ ( '%s pending' ) , number_format ( $ pending_comments ) ) ; if ( $ pending_comments ) { echo '<strong>' ; } echo "<a href='" . esc_url ( add_query_arg ( 'p' , $ post_id , admin_url ( 'edit-comments.php' ) ) ) . "' title='" . esc_attr ( $ pending_phrase ) . "' class='post-com-count'><span class='comment-count'>" . number_format_i18n ( get_comments_number ( ) ) . "</span></a>" ; if ( $ pending_comments ) { echo '</strong>' ; } }
Display a comment count bubble

@param integer $post_id
@param integer $pending_comments
Display a comment count bubble