Version Description
- fixed : enclose title in cdata tags in send feed file function to prevent invalid xml errors
Download this release
Release Info
Developer | commentluv |
Plugin | CommentLuv |
Version | 2.92.7 |
Comparing to | |
See all releases |
Code changes from version 2.92.6 to 2.92.7
- commentluv.php +5 -5
- readme.txt +6 -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;
|
@@ -1326,8 +1326,8 @@
|
|
1326 |
if(is_array($posts)){
|
1327 |
foreach($posts as $post){
|
1328 |
$title = get_the_title($post->ID);
|
1329 |
-
//$feed .= '<item><title
|
1330 |
-
$feed .= '<item><title
|
1331 |
'<link>'.get_permalink($post->ID).'</link>'.
|
1332 |
'<type>blog</type>'.
|
1333 |
'</item>';
|
@@ -1338,7 +1338,7 @@
|
|
1338 |
'</item>';
|
1339 |
}
|
1340 |
$feed .= '</channel></rss>';
|
1341 |
-
ob_end_clean();
|
1342 |
header("Content-Type: application/atom+xml; charset=".get_bloginfo('charset'));
|
1343 |
echo $feed;
|
1344 |
exit;
|
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.7
|
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.7";
|
32 |
var $slug = 'commentluv-options';
|
33 |
var $localize;
|
34 |
var $is_commentluv_request = false;
|
1326 |
if(is_array($posts)){
|
1327 |
foreach($posts as $post){
|
1328 |
$title = get_the_title($post->ID);
|
1329 |
+
//$feed .= '<item><title>'.strip_tags($title).'</title>'.
|
1330 |
+
$feed .= '<item><title><![CDATA['.$title.']]></title>'.
|
1331 |
'<link>'.get_permalink($post->ID).'</link>'.
|
1332 |
'<type>blog</type>'.
|
1333 |
'</item>';
|
1338 |
'</item>';
|
1339 |
}
|
1340 |
$feed .= '</channel></rss>';
|
1341 |
+
ob_end_clean();
|
1342 |
header("Content-Type: application/atom+xml; charset=".get_bloginfo('charset'));
|
1343 |
echo $feed;
|
1344 |
exit;
|
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 |
|
@@ -85,6 +85,9 @@ Please see the videos in the settings page for explanations of how they work.
|
|
85 |
4. edit post comments
|
86 |
|
87 |
== ChangeLog ==
|
|
|
|
|
|
|
88 |
|
89 |
= 2.92.6 =
|
90 |
|
@@ -385,9 +388,9 @@ Please see the videos in the settings page for explanations of how they work.
|
|
385 |
|
386 |
== Upgrade Notice ==
|
387 |
|
388 |
-
= 2.92.
|
389 |
|
390 |
-
|
391 |
|
392 |
== Configuration ==
|
393 |
|
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.7
|
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 |
|
85 |
4. edit post comments
|
86 |
|
87 |
== ChangeLog ==
|
88 |
+
= 2.92.7 =
|
89 |
+
|
90 |
+
* fixed : enclose title in cdata tags in send feed file function to prevent invalid xml errors
|
91 |
|
92 |
= 2.92.6 =
|
93 |
|
388 |
|
389 |
== Upgrade Notice ==
|
390 |
|
391 |
+
= 2.92.7 =
|
392 |
|
393 |
+
fix feed file so no xml errors are shown for hyphen type titles
|
394 |
|
395 |
== Configuration ==
|
396 |
|