For apos in links.
git-svn-id: https://develop.svn.wordpress.org/trunk@2922 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
1f4f968040
commit
21cafc609c
|
@ -786,6 +786,7 @@ function trackback($trackback_url, $title, $excerpt, $ID) {
|
||||||
*/
|
*/
|
||||||
@fclose($fs);
|
@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 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'");
|
$wpdb->query("UPDATE $wpdb->posts SET to_ping = REPLACE(to_ping, '$tb_url', '') WHERE ID = '$ID'");
|
||||||
return $result;
|
return $result;
|
||||||
|
|
Loading…
Reference in New Issue