LB
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Comments Patch: How-to?Thanks!
Forum: Fixing WordPress
In reply to: Comments Patch: How-to?Changes it makes to what? That’s what I’m not getting. For instance, I downloaded this patch to my hard drive:
— wordpress/comment-functions.php Tue Jan 11 23:41:18 2005
+++ wptest/comment-functions.php Tue Jan 11 23:38:54 2005
@@ -725,8 +725,11 @@
if ( 1 == get_settings(‘comment_whitelist’)) {
if( $author != ” && $email != ” ) {
$ok_to_comment = $wpdb->get_var(“SELECT comment_approved FROM $wpdb->comments WHERE comment_author = ‘$author’ AND comment_author_email = ‘$email’ and comment_approved = ‘1’ “);
– if ( 1 == $ok_to_comment && false === strpos( $email, get_settings(‘moderation_keys’)) )
+ if ( 1 == $ok_to_comment && false === strpos( $email, get_settings(‘moderation_keys’)) ) {
return true;
+ } else {
+ return false;
+ }
}
if ( ‘trackback’ == $comment_type || ‘pingback’ == $comment_type ) { // check if domain is in blogroll
$uri = parse_url($url);
@@ -764,4 +767,4 @@
return true;
}-?>
\ No newline at end of file
+?>Am I supposed to have a file called “comment-functions.php?” Do I look there and make the changes that appear in the patch?
Forum: Fixing WordPress
In reply to: Comments Patch: How-to?Can anyone tell me which folder I put the patch into?
Forum: Fixing WordPress
In reply to: Comments Patch: How-to?It’s the same feature referenced here:
http://wordpress.org/support/topic.php?id=25803
“Comment author must have a previously approved comment”
The feature has a bug. Commenters NOT previously approved are getting through. I believe this patch will fix it:
http://mosquito.wordpress.org/view.php?id=1057
I just don’t know how to implement the patch.