mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-16 19:46:21 +00: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?
|
||||
if ($prev_status != 'publish' && $post_status == 'publish') {
|
||||
generic_ping();
|
||||
if ($post_pingback) {
|
||||
pingback($content, $post_ID);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user