diff options
| author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2005-11-18 13:47:42 +0000 |
|---|---|---|
| committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2005-11-18 13:47:42 +0000 |
| commit | 56777d417dd3fefd42e44db4f60377709fccdf5a (patch) | |
| tree | 163d1422f805827f7ba408260ccd9d9aaa6c5ea7 /wp-inst/wp-includes/functions.php | |
| parent | 2b56b90f06b0018f0dba866e2d799cda640d9597 (diff) | |
| download | wordpress-mu-56777d417dd3fefd42e44db4f60377709fccdf5a.tar.gz wordpress-mu-56777d417dd3fefd42e44db4f60377709fccdf5a.tar.xz wordpress-mu-56777d417dd3fefd42e44db4f60377709fccdf5a.zip | |
WP Merge
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@440 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-inst/wp-includes/functions.php')
| -rw-r--r-- | wp-inst/wp-includes/functions.php | 4 |
1 files changed, 1 insertions, 3 deletions
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; } |
