Changeset 1939
- Timestamp:
- 12/12/04 18:27:31 (4 years ago)
- Files:
-
- trunk/xmlrpc.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/xmlrpc.php
r1920 r1939 1152 1152 1153 1153 // Let's check that the remote site didn't already pingback this entry 1154 $sql = 'SELECT * FROM '.$wpdb->comments.' 1155 WHERE comment_post_ID = '.$post_ID.' 1156 AND comment_author_url = \''.$pagelinkedfrom.'\' 1157 AND comment_type = \'pingback\''; 1158 $result = $wpdb->get_results($sql); 1159 //return($sql); 1154 $result = $wpdb->get_results("SELECT * FROM $wpdb->comments WHERE comment_post_ID = '$post_ID' AND comment_author_url = '$pagelinkedfrom'"); 1160 1155 1161 1156 if ($wpdb->num_rows) { … … 1231 1226 } 1232 1227 1233 1234 1228 $comment_post_ID = $post_ID; 1235 1229 $comment_author = $title;
