]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-trackback.php
WordPress 3.5.1-scripts
[autoinstalls/wordpress.git] / wp-trackback.php
index 864da720c3f777f6070f2db5e867c52b5c93db4a..06e47507be221d742765f0463ce7f3fc9cd9f945 100644 (file)
@@ -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