mirror of
https://github.com/WordPress/WordPress.git
synced 2024-10-05 19:18:15 +02:00
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:
parent
12dea3832c
commit
323feecf52
@ -384,7 +384,6 @@ $now_gmt = current_time('mysql', 1);
|
|||||||
|
|
||||||
// are we going from draft/private to published?
|
// are we going from draft/private to published?
|
||||||
if ($prev_status != 'publish' && $post_status == 'publish') {
|
if ($prev_status != 'publish' && $post_status == 'publish') {
|
||||||
generic_ping();
|
|
||||||
if ($post_pingback) {
|
if ($post_pingback) {
|
||||||
pingback($content, $post_ID);
|
pingback($content, $post_ID);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user