Version Description
- fixed : special feed was showing special chars for hyphen and quotes in post titles
- fixed : strip tags from feed before displaying in drop down
Download this release
Release Info
Developer | commentluv |
Plugin | CommentLuv |
Version | 2.92.6 |
Comparing to | |
See all releases |
Code changes from version 2.92.5 to 2.92.6
- commentluv.php +7 -5
- readme.txt +8 -3
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.92.
|
6 |
Author: Andy Bailey
|
7 |
Author URI: http://www.commentluv.com
|
8 |
Copyright (C) <2011> <Andy Bailey>
|
@@ -28,7 +28,7 @@
|
|
28 |
var $plugin_url;
|
29 |
var $plugin_dir;
|
30 |
var $db_option = 'commentluv_options';
|
31 |
-
var $version = "2.92.
|
32 |
var $slug = 'commentluv-options';
|
33 |
var $localize;
|
34 |
var $is_commentluv_request = false;
|
@@ -843,7 +843,7 @@
|
|
843 |
$error = '';
|
844 |
if($posts){
|
845 |
foreach($posts as $post){
|
846 |
-
$return[] = array('type'=>'blog','title'
|
847 |
}
|
848 |
} else {
|
849 |
$error = __('Could not get posts for home blog',$this->plugin_domain);
|
@@ -952,7 +952,7 @@
|
|
952 |
if($itemtags){
|
953 |
$type = $itemtags[0]['data'];
|
954 |
}
|
955 |
-
$arr[] = array('type'=>$type,'title'
|
956 |
$g--;
|
957 |
if($g < 1){
|
958 |
break;
|
@@ -1325,7 +1325,9 @@
|
|
1325 |
'<success>'.$error.'</success>';
|
1326 |
if(is_array($posts)){
|
1327 |
foreach($posts as $post){
|
1328 |
-
$
|
|
|
|
|
1329 |
'<link>'.get_permalink($post->ID).'</link>'.
|
1330 |
'<type>blog</type>'.
|
1331 |
'</item>';
|
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.92.6
|
6 |
Author: Andy Bailey
|
7 |
Author URI: http://www.commentluv.com
|
8 |
Copyright (C) <2011> <Andy Bailey>
|
28 |
var $plugin_url;
|
29 |
var $plugin_dir;
|
30 |
var $db_option = 'commentluv_options';
|
31 |
+
var $version = "2.92.6";
|
32 |
var $slug = 'commentluv-options';
|
33 |
var $localize;
|
34 |
var $is_commentluv_request = false;
|
843 |
$error = '';
|
844 |
if($posts){
|
845 |
foreach($posts as $post){
|
846 |
+
$return[] = array('type'=>'blog','title'=>htmlspecialchars_decode(strip_tags($post->post_title)),'link'=>get_permalink($post->ID),'p'=>'u');
|
847 |
}
|
848 |
} else {
|
849 |
$error = __('Could not get posts for home blog',$this->plugin_domain);
|
952 |
if($itemtags){
|
953 |
$type = $itemtags[0]['data'];
|
954 |
}
|
955 |
+
$arr[] = array('type'=>$type,'title'=>htmlspecialchars_decode(strip_tags($item->get_title())),'link'=>$item->get_permalink(),'p'=>$p);
|
956 |
$g--;
|
957 |
if($g < 1){
|
958 |
break;
|
1325 |
'<success>'.$error.'</success>';
|
1326 |
if(is_array($posts)){
|
1327 |
foreach($posts as $post){
|
1328 |
+
$title = get_the_title($post->ID);
|
1329 |
+
//$feed .= '<item><title><![CDATA['.$title.']]></title>'.
|
1330 |
+
$feed .= '<item><title>'.strip_tags($title).'</title>'.
|
1331 |
'<link>'.get_permalink($post->ID).'</link>'.
|
1332 |
'<type>blog</type>'.
|
1333 |
'</item>';
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ 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.5
|
7 |
-
Stable tag: 2.92.
|
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 |
|
@@ -86,6 +86,11 @@ Please see the videos in the settings page for explanations of how they work.
|
|
86 |
|
87 |
== ChangeLog ==
|
88 |
|
|
|
|
|
|
|
|
|
|
|
89 |
= 2.92.5 =
|
90 |
|
91 |
* fixed : simplepie library changed to use separate class file for File
|
@@ -380,9 +385,9 @@ Please see the videos in the settings page for explanations of how they work.
|
|
380 |
|
381 |
== Upgrade Notice ==
|
382 |
|
383 |
-
= 2.92.
|
384 |
|
385 |
-
|
386 |
|
387 |
== Configuration ==
|
388 |
|
4 |
Tags: commentluv, comments, last blog post, linkluv, comment luv , commentlove, comment love
|
5 |
Requires at least: 3.0
|
6 |
Tested up to: 3.5
|
7 |
+
Stable tag: 2.92.6
|
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 |
|
86 |
|
87 |
== ChangeLog ==
|
88 |
|
89 |
+
= 2.92.6 =
|
90 |
+
|
91 |
+
* fixed : special feed was showing special chars for hyphen and quotes in post titles
|
92 |
+
* fixed : strip tags from feed before displaying in drop down
|
93 |
+
|
94 |
= 2.92.5 =
|
95 |
|
96 |
* fixed : simplepie library changed to use separate class file for File
|
385 |
|
386 |
== Upgrade Notice ==
|
387 |
|
388 |
+
= 2.92.6 =
|
389 |
|
390 |
+
Do not show html special character encoding in feed that commentluv sends
|
391 |
|
392 |
== Configuration ==
|
393 |
|