[wp-trac] [WordPress Trac] #15500: Ajax comment delete display bug
WordPress Trac
wp-trac at lists.automattic.com
Mon Dec 13 15:55:52 UTC 2010
#15500: Ajax comment delete display bug
--------------------------+-------------------------------------------------
Reporter: hew | Owner: scribu
Type: defect (bug) | Status: assigned
Priority: high | Milestone: 3.1
Component: Comments | Version: 3.1
Severity: major | Keywords: has-patch needs-testing
--------------------------+-------------------------------------------------
Comment(by scribu):
Replying to [comment:12 garyc40]:
> Thanks! That's just a way to check whether refillTheExtraList() was
called when an event trigger. Is there a better way to do that?
Something like this:
{{{
function refillTheExtraList(ev) {
if ( ev ) {
...
}
}
}}}
> Fixed WP_Comments_List_Table::prepare_items() to accept both
$_GETnumber? and $_POSTnumber? in case of AJAX requests.
I think simply switching to $_REQUEST all the time would be enough.
As for totalInput etc. I think you should open a new ticket if it's
causing problems.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15500#comment:13>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list