[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
Sun Jul 19 20:43:27 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.2
Component: Comments | Version: 2.8.1
Severity: major | Resolution:
Keywords: |
--------------------------+-------------------------------------------------
Comment(by Denis-de-Bernardy):
@VoxPelli: Yawn. Make yourself useful and offer a better patch instead of
ranting on your blog:
http://www.karamell.net/2009/07/19/wordpress-putting-the-real-time-web-
to-a-halt/
Plus, it's trivial to override in a plugin:
{{{
if ( wp_next_scheduled('do_generic_ping') ) {
wp_clear_scheduled_hook('do_generic_ping');
do_action('do_generic_ping');
}
}}}
By comparing the return value of wp_next_scheduled() you could even
throttle it differently to suit whichever behavior makes the most sense to
you -- instant, after a minute, after a half hour, whatever.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/6698#comment:26>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list