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

WordPress Trac noreply at wordpress.org
Thu Jun 9 02:21:29 UTC 2016


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

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"37664"]:
 {{{
 #!CommitTicketReference repository="" revision="37664"
 Comments: Fix pagination totals in the response of the inline delete
 actions when filtering the List Table by comment_type.

 Within the Ajax action `_wp_ajax_delete_comment_response()` if the
 comment_type query var is set, fallback to the previous `$total - 1` value
 instead of getting an incorrect value from `wp_comment_count()`.

 Fixes #36991.
 }}}

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


More information about the wp-trac mailing list