[wp-cvs] wordpress xmlrpc.php,1.31,1.32
Matthew Mullenweg
saxmatt at users.sourceforge.net
Sun Dec 12 18:27:33 UTC 2004
- Previous message: [wp-cvs] wordpress/wp-admin admin-functions.php, 1.65,
1.66 options-permalink.php, 1.50, 1.51 options-writing.php,
1.26, 1.27 templates.php, 1.29, 1.30
- Next message: [wp-cvs] wordpress/wp-admin admin-functions.php, 1.66,
1.67 bookmarklet.php, 1.16, 1.17 categories.php, 1.44,
1.45 edit-comments.php, 1.40, 1.41 edit-form-advanced.php,
1.44, 1.45 edit-page-form.php, 1.14, 1.15 edit.php, 1.37,
1.38 link-add.php, 1.19, 1.20 link-categories.php, 1.17,
1.18 link-manager.php, 1.41, 1.42 options.php, 1.37,
1.38 plugin-editor.php, 1.3, 1.4 post.php, 1.112,
1.113 profile.php, 1.33, 1.34 sidebar.php, 1.13,
1.14 templates.php, 1.30, 1.31 theme-editor.php, 1.8,
1.9 user-edit.php, 1.7, 1.8 users.php, 1.41, 1.42
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/cafelog/wordpress
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10101
Modified Files:
xmlrpc.php
Log Message:
Check for dupe trackbacks as well.
Index: xmlrpc.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/xmlrpc.php,v
retrieving revision 1.31
retrieving revision 1.32
diff -C2 -d -r1.31 -r1.32
*** xmlrpc.php 8 Dec 2004 02:35:52 -0000 1.31
--- xmlrpc.php 12 Dec 2004 18:27:31 -0000 1.32
***************
*** 1152,1161 ****
// Let's check that the remote site didn't already pingback this entry
! $sql = 'SELECT * FROM '.$wpdb->comments.'
! WHERE comment_post_ID = '.$post_ID.'
! AND comment_author_url = \''.$pagelinkedfrom.'\'
! AND comment_type = \'pingback\'';
! $result = $wpdb->get_results($sql);
! //return($sql);
if ($wpdb->num_rows) {
--- 1152,1156 ----
// Let's check that the remote site didn't already pingback this entry
! $result = $wpdb->get_results("SELECT * FROM $wpdb->comments WHERE comment_post_ID = '$post_ID' AND comment_author_url = '$pagelinkedfrom'");
if ($wpdb->num_rows) {
***************
*** 1231,1235 ****
}
-
$comment_post_ID = $post_ID;
$comment_author = $title;
--- 1226,1229 ----
- Previous message: [wp-cvs] wordpress/wp-admin admin-functions.php, 1.65,
1.66 options-permalink.php, 1.50, 1.51 options-writing.php,
1.26, 1.27 templates.php, 1.29, 1.30
- Next message: [wp-cvs] wordpress/wp-admin admin-functions.php, 1.66,
1.67 bookmarklet.php, 1.16, 1.17 categories.php, 1.44,
1.45 edit-comments.php, 1.40, 1.41 edit-form-advanced.php,
1.44, 1.45 edit-page-form.php, 1.14, 1.15 edit.php, 1.37,
1.38 link-add.php, 1.19, 1.20 link-categories.php, 1.17,
1.18 link-manager.php, 1.41, 1.42 options.php, 1.37,
1.38 plugin-editor.php, 1.3, 1.4 post.php, 1.112,
1.113 profile.php, 1.33, 1.34 sidebar.php, 1.13,
1.14 templates.php, 1.30, 1.31 theme-editor.php, 1.8,
1.9 user-edit.php, 1.7, 1.8 users.php, 1.41, 1.42
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the cvs
mailing list