function do_trackbacks( $post ) { global $wpdb;
$post =
get_post( $post );
if ( !
$post ) { return false;
} $to_ping =
get_to_ping( $post );
$pinged =
get_pung( $post );
if ( empty( $to_ping ) ) { $wpdb->
update( $wpdb->posts, array
( 'to_ping' => ''
), array
( 'ID' =>
$post->ID
) );
return;
} if ( empty( $post->post_excerpt
) ) { /** This filter is documented in wp-includes/post-template.php */
$excerpt =
apply_filters( 'the_content',
$post->post_content,
$post->ID
);
} else { /** This filter is documented in wp-includes/post-template.php */