[wp-trac] [WordPress Trac] #15530: AJAX trashing of comments doesn't update on screen comment count

WordPress Trac wp-trac at lists.automattic.com
Sat Jan 22 03:28:42 UTC 2011


#15530: AJAX trashing of comments doesn't update on screen comment count
------------------------------+-----------------------
 Reporter:  johnbillion       |       Owner:  garyc40
     Type:  defect (bug)      |      Status:  assigned
 Priority:  normal            |   Milestone:  3.1
Component:  Administration    |     Version:  3.1
 Severity:  minor             |  Resolution:
 Keywords:  has-patch commit  |
------------------------------+-----------------------

Comment (by garyc40):

 The problem is a bit more complicated that I thought.

 Try these:

 - Go to a filter (like Pending or Approved), and trash comment there. The
 pagination links returned do not include {{{comment_status}}} argument (or
 any arguments for that matter).

 - Search something, then delete a comment. The ajax handler does not take
 argument {{{s}}} into account, so wrong total items and total number of
 pages are returned.

 - Go to the last page of the list, delete all comments on that page one by
 one. The page number becomes to "1 of xx". I think the expected behavior
 should be redirecting to the new last page.

 Working on a patch. Seems like more reds and greens are going to be added
 to this minor ticket :(

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/15530#comment:10>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list