CommentLuv - Version 2.93.2

Version Description

= 2.93 =

updated javascript compatibility

Download this release

Release Info

Developer commentluv
Plugin Icon 128x128 CommentLuv
Version 2.93.2
Comparing to
See all releases

Code changes from version 2.93.1 to 2.93.2

Files changed (2) hide show
  1. commentluv.php +5 -3
  2. readme.txt +4 -2
commentluv.php CHANGED
@@ -2,7 +2,7 @@
2
  Plugin Name: CommentLuv
3
  Plugin URI: http://comluv.com/
4
  Description: Reward your readers by automatically placing a link to their last blog post at the end of their comment. Encourage a community and discover new posts.
5
- Version: 2.93.1
6
  Author: Andy Bailey
7
  Author URI: http://www.commentluv.com
8
  Copyright (C) <2011> <Andy Bailey>
@@ -593,7 +593,8 @@ if (! class_exists ( 'commentluv' )) {
593
  $link = $_POST['link'];
594
  // is registered user?
595
  $email = get_comment_author_email($cid);
596
- $user = get_user_by_email($email);
 
597
  if($user){
598
  $isreg = true;
599
  }
@@ -732,7 +733,8 @@ if (! class_exists ( 'commentluv' )) {
732
  if($data['cl_post_url'] != '' && $data['cl_post_title'] != ''){
733
  // luvlink was saved to meta, dofollow the link?
734
  $nofollow = ' rel="nofollow"';
735
- $isreg = get_user_by_email($comment->comment_author_email);
 
736
  if($options['dofollow'] == 'everybody'){
737
  $nofollow = '';
738
  } elseif ($options['dofollow'] == 'registered' && $isreg){
2
  Plugin Name: CommentLuv
3
  Plugin URI: http://comluv.com/
4
  Description: Reward your readers by automatically placing a link to their last blog post at the end of their comment. Encourage a community and discover new posts.
5
+ Version: 2.93.2
6
  Author: Andy Bailey
7
  Author URI: http://www.commentluv.com
8
  Copyright (C) <2011> <Andy Bailey>
593
  $link = $_POST['link'];
594
  // is registered user?
595
  $email = get_comment_author_email($cid);
596
+ //$user = get_user_by_email($email);
597
+ $user = get_user_by('email',$email);
598
  if($user){
599
  $isreg = true;
600
  }
733
  if($data['cl_post_url'] != '' && $data['cl_post_title'] != ''){
734
  // luvlink was saved to meta, dofollow the link?
735
  $nofollow = ' rel="nofollow"';
736
+ //$isreg = get_user_by_email($comment->comment_author_email);
737
+ $isreg = get_user_by('email',$comment->comment_author_email);
738
  if($options['dofollow'] == 'everybody'){
739
  $nofollow = '';
740
  } elseif ($options['dofollow'] == 'registered' && $isreg){
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: commentluv, @hishaman (css additions)
3
  Donate link:http://comluv.com/about/donate
4
  Tags: commentluv, comments, last blog post, linkluv, comment luv , commentlove, comment love
5
  Requires at least: 3.0
6
- Tested up to: 3.7
7
- Stable tag: 2.93.1
8
 
9
  Reward your readers by automatically placing a link to their last blog post at the end of their comment. Encourage a community and discover new posts.
10
 
@@ -87,6 +87,8 @@ Please see the videos in the settings page for explanations of how they work.
87
 
88
  == ChangeLog ==
89
 
 
 
90
  = 2.93.1 =
91
 
92
  * updated : prevent notice in admin for $authurl , check it is in $comment before trying to use it
3
  Donate link:http://comluv.com/about/donate
4
  Tags: commentluv, comments, last blog post, linkluv, comment luv , commentlove, comment love
5
  Requires at least: 3.0
6
+ Tested up to: 3.7.1
7
+ Stable tag: 2.93.2
8
 
9
  Reward your readers by automatically placing a link to their last blog post at the end of their comment. Encourage a community and discover new posts.
10
 
87
 
88
  == ChangeLog ==
89
 
90
+ * updated : get_user_by_email removed from functions.
91
+
92
  = 2.93.1 =
93
 
94
  * updated : prevent notice in admin for $authurl , check it is in $comment before trying to use it