Remove unnecessary call to generic_ping(). The publish_post action will take care of it. Props to hades. http://wordpress.org/support/4/6876

git-svn-id: http://svn.automattic.com/wordpress/trunk@1386 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
rboren 2004-06-04 02:49:40 +00:00
parent 12dea3832c
commit 323feecf52

View File

@ -384,7 +384,6 @@ $now_gmt = current_time('mysql', 1);
// are we going from draft/private to published?
if ($prev_status != 'publish' && $post_status == 'publish') {
generic_ping();
if ($post_pingback) {
pingback($content, $post_ID);
}