mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 17:48:01 +01:00
Don't return undefined variable.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3142 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
1f9a6fdb92
commit
c1095d12dd
@ -812,8 +812,7 @@ function trackback($trackback_url, $title, $excerpt, $ID) {
|
||||
|
||||
$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;
|
||||
return $wpdb->query("UPDATE $wpdb->posts SET to_ping = REPLACE(to_ping, '$tb_url', '') WHERE ID = '$ID'");
|
||||
}
|
||||
|
||||
function make_url_footnote($content) {
|
||||
|
Loading…
Reference in New Issue
Block a user