[wp-trac] [WordPress Trac] #36991: Page numbers are inconsistent when manually deleting comments

WordPress Trac noreply at wordpress.org
Wed Jun 1 20:30:26 UTC 2016


#36991: Page numbers are inconsistent when manually deleting comments
--------------------------+-----------------------------
 Reporter:  samuelsidler  |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  low           |   Milestone:  Future Release
Component:  Comments      |     Version:
 Severity:  minor         |  Resolution:
 Keywords:  has-patch     |     Focuses:  administration
--------------------------+-----------------------------

Comment (by rachelbaker):

 This occurs when filtering the Comments list table by a particular
 comment_type, because `wp_count_comments()` doesn't account for different
 comment_types.  In [attachment:type_list_pagination.patch], if the
 `comment_type` query var is set, I fallback to the `$total - 1` value.

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


More information about the wp-trac mailing list