X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/3f5685912e89eb3b0534acd85aa0946b1ca2bbe3..e059c33afecf52580f31b53393d6a95d08aaef35:/wp-trackback.php diff --git a/wp-trackback.php b/wp-trackback.php index 864da720..06e47507 100644 --- a/wp-trackback.php +++ b/wp-trackback.php @@ -7,13 +7,13 @@ if (empty($wp)) { require_once('./wp-load.php'); - wp('tb=1'); + wp( array( 'tb' => '1' ) ); } /** * trackback_response() - Respond with error or success XML message * - * @param int|bool $error Whether there was an error or not + * @param int|bool $error Whether there was an error * @param string $error_message Error message if an error occurred */ function trackback_response($error = 0, $error_message = '') { @@ -108,4 +108,3 @@ if ( !empty($tb_url) && !empty($title) ) { do_action('trackback_post', $wpdb->insert_id); trackback_response(0); } -?> \ No newline at end of file