[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 06:48:09 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 no-really-commit  |
-----------------------------------------------+-----------------------

Comment (by nacin):

 [attachment:15530.7.diff] includes a change that isn't directly related to
 everything else here, but is an easy fix. Basically, we stick
 $.query.get() directly into ajax, but $.query.get() sets comment_type to
 `true`, which then becomes `'true'`, rather than `''` as it should be.
 Simple check fixes that. $.query might include a way to avoid such casts.
 I didn't check.

 Considering .7 ready for commit.

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


More information about the wp-trac mailing list