Move generic_ping() to execute-pings.php. fixes #2440
git-svn-id: http://svn.automattic.com/wordpress/trunk@3524 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
a9fca43a85
commit
d0f14a4c93
|
@ -22,4 +22,6 @@ if ( is_array($trackbacks) ) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
generic_ping();
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -82,8 +82,7 @@ add_filter('bloginfo_rss', 'ent2ncr', 8);
|
||||||
add_filter('the_author', 'ent2ncr', 8);
|
add_filter('the_author', 'ent2ncr', 8);
|
||||||
|
|
||||||
// Actions
|
// Actions
|
||||||
add_action('publish_post', 'generic_ping');
|
|
||||||
add_action('wp_head', 'rsd_link');
|
add_action('wp_head', 'rsd_link');
|
||||||
add_action('publish_future_post', 'wp_publish_post', 10, 1);
|
add_action('publish_future_post', 'wp_publish_post', 10, 1);
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in New Issue