[wp-trac] [WordPress Trac] #6698: Editing a published post causes excessive pings / closing comments on old posts causes trackbacks
WordPress Trac
wp-trac at lists.automattic.com
Mon Jul 20 07:51:51 UTC 2009
#6698: Editing a published post causes excessive pings / closing comments on old
posts causes trackbacks
------------------------------+---------------------------------------------
Reporter: lapcat | Owner: Denis-de-Bernardy
Type: defect (bug) | Status: reopened
Priority: high | Milestone: 2.8.3
Component: Comments | Version: 2.8.1
Severity: major | Resolution:
Keywords: has-patch tested |
------------------------------+---------------------------------------------
Comment(by Denis-de-Bernardy):
@Huvet: see 6698.4.diff, which was added an hour ago.
And here's code to add in a plugin until it gets checked in:
{{{
if ( ( wp_next_scheduled('do_generic_ping') > time() + 60 ) &&
!get_transient('last_ping') ) {
wp_clear_scheduled_hook('do_generic_ping');
wp_schedule_single_event(time(), 'do_generic_ping');
set_transient('last_ping', time(), time() + 3600);
}
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/6698#comment:32>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list