WordPress.org

Make WordPress Core

Changeset 37624


Ignore:
Timestamp:
06/02/16 15:06:29 (17 months ago)
Author:
rachelbaker
Message:

Comments: Remove debugging code left in WP_Comments_List_Table->get_views().

Originally introduced in [9556] and leftover from [15578].

Props dabnpits.
Fixes #36938.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-comments-list-table.php

    r37488 r37624  
    202202        $status_links = array(); 
    203203        $num_comments = ( $post_id ) ? wp_count_comments( $post_id ) : wp_count_comments(); 
    204         //, number_format_i18n($num_comments->moderated) ), "<span class='comment-count'>" . number_format_i18n($num_comments->moderated) . "</span>"), 
    205         //, number_format_i18n($num_comments->spam) ), "<span class='spam-comment-count'>" . number_format_i18n($num_comments->spam) . "</span>") 
     204 
    206205        $stati = array( 
    207206            /* translators: %s: all comments count */ 
Note: See TracChangeset for help on using the changeset viewer.