For apos in links.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2922 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
7b0442ea12
commit
eb89133eb6
|
@ -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