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: https://develop.svn.wordpress.org/trunk@1386 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
fe680a36a0
commit
84d4037c56
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue