Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Prepare properly. Props Vladimir Kolesnikov.

git-svn-id: http://svn.automattic.com/wordpress/branches/3.0@16625 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information...
commit 7cbe5e6860944b451fdf5da193dc6b8afaa8c57c 1 parent e6e56a9
ryan authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  wp-includes/comment.php
View
2  wp-includes/comment.php
@@ -1654,7 +1654,7 @@ function do_trackbacks($post_id) {
trackback($tb_ping, $post_title, $excerpt, $post_id);
$pinged[] = $tb_ping;
} else {
- $wpdb->query( $wpdb->prepare("UPDATE $wpdb->posts SET to_ping = TRIM(REPLACE(to_ping, '$tb_ping', '')) WHERE ID = %d", $post_id) );
+ $wpdb->query( $wpdb->prepare("UPDATE $wpdb->posts SET to_ping = TRIM(REPLACE(to_ping, %s, '')) WHERE ID = %d", $tb_ping, $post_id) );
}
}
}

0 comments on commit 7cbe5e6

Please sign in to comment.
Something went wrong with that request. Please try again.