Ticket #1580: ping-wait.diff
File ping-wait.diff, 1.0 KB (added by , 20 years ago) |
---|
-
wp-admin/post.php
195 195 if ('publish' == $post_status) { 196 196 do_action('publish_post', $post_ID); 197 197 if ($post_pingback) 198 pingback($content, $post_ID);199 do_enclose($content, $post_ID );200 do_trackbacks($post_ID);198 register_shutdown_function('pingback', $content, $post_ID); 199 register_shutdown_function('do_enclose', $content, $post_ID ); 200 register_shutdown_function('do_trackbacks', $post_ID); 201 201 202 202 } 203 203 … … 434 434 435 435 if ($post_status == 'publish') { 436 436 do_action('publish_post', $post_ID); 437 do_trackbacks($post_ID);438 do_enclose($content, $post_ID );437 register_shutdown_function('do_trackbacks', $post_ID); 438 register_shutdown_function('do_enclose', $content, $post_ID ); 439 439 if ( get_option('default_pingback_flag') ) 440 pingback($content, $post_ID);440 register_shutdown_function('pingback', $content, $post_ID); 441 441 } 442 442 443 443 if ($post_status == 'static') {