For apos in links.

git-svn-id: http://svn.automattic.com/wordpress/trunk@2922 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
matt 2005-09-27 03:34:37 +00:00
parent 7b0442ea12
commit eb89133eb6
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;