[wp-trac] [WordPress Trac] #36938: Remove number format debug code left in Comments list table `get_views()` method

WordPress Trac noreply at wordpress.org
Tue May 24 21:43:26 UTC 2016


#36938: Remove number format debug code left in Comments list table `get_views()`
method
----------------------------------------+------------------
 Reporter:  rachelbaker                 |       Owner:
     Type:  defect (bug)                |      Status:  new
 Priority:  normal                      |   Milestone:  4.6
Component:  Comments                    |     Version:
 Severity:  minor                       |  Resolution:
 Keywords:  needs-patch good-first-bug  |     Focuses:
----------------------------------------+------------------
Description changed by ocean90:

Old description:

> Originally introduced in [r9556] and leftover from [r15578].
> https://core.trac.wordpress.org/browser/trunk/src/wp-admin/includes
> /class-wp-comments-list-table.php#L203
>
> {{{#!php
> //, 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

New description:

 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

 {{{#!php
 //, 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

--

--
Ticket URL: <https://core.trac.wordpress.org/ticket/36938#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list