For apos in links.

git-svn-id: https://develop.svn.wordpress.org/trunk@2922 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg 2005-09-27 03:34:37 +00:00
parent 1f4f968040
commit 21cafc609c
1 changed files with 1 additions and 0 deletions

View File

@ -786,6 +786,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;