From 56777d417dd3fefd42e44db4f60377709fccdf5a Mon Sep 17 00:00:00 2001 From: donncha Date: Fri, 18 Nov 2005 13:47:42 +0000 Subject: WP Merge git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@440 7be80a69-a1ef-0310-a953-fb0f7c49ff36 --- wp-inst/wp-includes/functions.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'wp-inst/wp-includes/functions.php') diff --git a/wp-inst/wp-includes/functions.php b/wp-inst/wp-includes/functions.php index ed9e5ff..1fb41e6 100644 --- a/wp-inst/wp-includes/functions.php +++ b/wp-inst/wp-includes/functions.php @@ -812,8 +812,7 @@ function trackback($trackback_url, $title, $excerpt, $ID) { $tb_url = addslashes( $tb_url ); $wpdb->query("UPDATE $wpdb->posts SET pinged = CONCAT(pinged, '\n', '$tb_url') WHERE ID = '$ID'"); - $wpdb->query("UPDATE $wpdb->posts SET to_ping = REPLACE(to_ping, '$tb_url', '') WHERE ID = '$ID'"); - return $result; + return $wpdb->query("UPDATE $wpdb->posts SET to_ping = REPLACE(to_ping, '$tb_url', '') WHERE ID = '$ID'"); } function make_url_footnote($content) { @@ -2144,7 +2143,6 @@ function register_deactivation_hook($file, $function) { function plugin_basename($file) { $file = preg_replace('/^.*wp-content[\\\\\/]plugins[\\\\\/]/', '', $file); - $file = stripslashes($file); return $file; } -- cgit