summaryrefslogtreecommitdiffstats
path: root/wp-inst/wp-includes/functions.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2005-09-27 09:09:04 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2005-09-27 09:09:04 +0000
commit41c844d0db6d3f793b563ea69ab624a5a5cb5b1c (patch)
tree72d2d3ea4e82e0e48dca226704b80149284417cd /wp-inst/wp-includes/functions.php
parent5184cda2b0c48d5f901381956348336b55d235d6 (diff)
downloadwordpress-mu-41c844d0db6d3f793b563ea69ab624a5a5cb5b1c.tar.gz
wordpress-mu-41c844d0db6d3f793b563ea69ab624a5a5cb5b1c.tar.xz
wordpress-mu-41c844d0db6d3f793b563ea69ab624a5a5cb5b1c.zip
WP Merge, Andy's new upload code, REQUIRES upgrading of db!
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@374 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-inst/wp-includes/functions.php')
-rw-r--r--wp-inst/wp-includes/functions.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/wp-inst/wp-includes/functions.php b/wp-inst/wp-includes/functions.php
index 67def63..c557406 100644
--- a/wp-inst/wp-includes/functions.php
+++ b/wp-inst/wp-includes/functions.php
@@ -790,6 +790,7 @@ function trackback($trackback_url, $title, $excerpt, $ID) {
*/
@fclose($fs);
+ $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;