Don't return undefined variable.
git-svn-id: https://develop.svn.wordpress.org/trunk@3142 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
f9e0982d6a
commit
5db06a0f98
|
@ -812,8 +812,7 @@ function trackback($trackback_url, $title, $excerpt, $ID) {
|
||||||
|
|
||||||
$tb_url = addslashes( $tb_url );
|
$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'");
|
return $wpdb->query("UPDATE $wpdb->posts SET to_ping = REPLACE(to_ping, '$tb_url', '') WHERE ID = '$ID'");
|
||||||
return $result;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function make_url_footnote($content) {
|
function make_url_footnote($content) {
|
||||||
|
|
Loading…
Reference in New Issue