WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#36938 closed defect (bug) (fixed)

Remove number format debug code left in Comments list table `get_views()` method

Reported by: rachelbaker Owned by: rachelbaker
Milestone: 4.6 Priority: normal
Severity: minor Version:
Component: Comments Keywords: good-first-bug has-patch
Focuses: Cc:

Description (last modified by ocean90)

Originally introduced in [9556] and leftover from [15578]. https://core.trac.wordpress.org/browser/trunk/src/wp-admin/includes/class-wp-comments-list-table.php#L203

//, number_format_i18n($num_comments->moderated) ), "<span class='comment-count'>" . number_format_i18n($num_comments->moderated) . "</span>"),
//, number_format_i18n($num_comments->spam) ), "<span class='spam-comment-count'>" . number_format_i18n($num_comments->spam) . "</span>")

See #8083 and #14579

Attachments (1)

36938.patch (788 bytes) - added by dabnpits 4 years ago.

Download all attachments as: .zip

Change History (4)

#1 @ocean90
4 years ago

  • Description modified (diff)

@dabnpits
4 years ago

#2 @dabnpits
4 years ago

  • Keywords has-patch added; needs-patch removed

#3 @rachelbaker
4 years ago

  • Owner set to rachelbaker
  • Resolution set to fixed
  • Status changed from new to closed

In 37624:

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

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

Props dabnpits.
Fixes #36938.

Note: See TracTickets for help on using tickets.