Version Description
- Fixed: flushing/removing of ratings for widget included. Thanks to feedback from glyn.
=
Download this release
Release Info
Developer | bhittani |
Plugin | kk Star Ratings |
Version | 1.3.1 |
Comparing to | |
See all releases |
Code changes from version 1.3 to 1.3.1
- kk-ratings.php +3 -1
- readme.txt +4 -1
kk-ratings.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
Plugin Name: kk Star Ratings
|
5 |
Plugin URI: http://wakeusup.com/2011/05/kk-star-ratings/
|
6 |
Description: A clean, animated and sweat ratings feature for your blog <strong>With kk Star Ratings, you can allow your blog posts to be rated by your blog visitors</strong>. <strong>It also includes a widget</strong> which you can add to your sidebar to show the top rated post. There are some useful options you can set to customize this plugin. You can do all that after installing and activating the plugin and then visiting the <a href="options-general.php?page=kk-ratings_options">Plugin Settings</a>.
|
7 |
-
Version: 1.3
|
8 |
Author: Kamal Khan
|
9 |
Author URI: http://bhittani.com
|
10 |
License: GPLv2 or later
|
@@ -176,6 +176,7 @@ if(!class_exists('kk_Ratings') && !isset($kkratings) && !function_exists('kk_sta
|
|
176 |
delete_post_meta($val, '_kk_ratings_ratings');
|
177 |
delete_post_meta($val, '_kk_ratings_casts');
|
178 |
delete_post_meta($val, '_kk_ratings_ips');
|
|
|
179 |
}
|
180 |
echo '<div class="updated settings-error" style="padding:5px;">Ratings for id(s) '.$postids.' have been FLUSHED Successfully</div>';
|
181 |
}
|
@@ -187,6 +188,7 @@ if(!class_exists('kk_Ratings') && !isset($kkratings) && !function_exists('kk_sta
|
|
187 |
delete_post_meta($postinfo->ID, '_kk_ratings_ratings');
|
188 |
delete_post_meta($postinfo->ID, '_kk_ratings_casts');
|
189 |
delete_post_meta($postinfo->ID, '_kk_ratings_ips');
|
|
|
190 |
}
|
191 |
echo '<div class="updated settings-error" style="padding:5px;">All ratings have been FLUSHED Successfully</div>';
|
192 |
}
|
4 |
Plugin Name: kk Star Ratings
|
5 |
Plugin URI: http://wakeusup.com/2011/05/kk-star-ratings/
|
6 |
Description: A clean, animated and sweat ratings feature for your blog <strong>With kk Star Ratings, you can allow your blog posts to be rated by your blog visitors</strong>. <strong>It also includes a widget</strong> which you can add to your sidebar to show the top rated post. There are some useful options you can set to customize this plugin. You can do all that after installing and activating the plugin and then visiting the <a href="options-general.php?page=kk-ratings_options">Plugin Settings</a>.
|
7 |
+
Version: 1.3.1
|
8 |
Author: Kamal Khan
|
9 |
Author URI: http://bhittani.com
|
10 |
License: GPLv2 or later
|
176 |
delete_post_meta($val, '_kk_ratings_ratings');
|
177 |
delete_post_meta($val, '_kk_ratings_casts');
|
178 |
delete_post_meta($val, '_kk_ratings_ips');
|
179 |
+
delete_post_meta($val, '_kk_ratings_avg');
|
180 |
}
|
181 |
echo '<div class="updated settings-error" style="padding:5px;">Ratings for id(s) '.$postids.' have been FLUSHED Successfully</div>';
|
182 |
}
|
188 |
delete_post_meta($postinfo->ID, '_kk_ratings_ratings');
|
189 |
delete_post_meta($postinfo->ID, '_kk_ratings_casts');
|
190 |
delete_post_meta($postinfo->ID, '_kk_ratings_ips');
|
191 |
+
delete_post_meta($postinfo->ID, '_kk_ratings_avg');
|
192 |
}
|
193 |
echo '<div class="updated settings-error" style="padding:5px;">All ratings have been FLUSHED Successfully</div>';
|
194 |
}
|
readme.txt
CHANGED
@@ -11,7 +11,7 @@ Requires at least: 3.0
|
|
11 |
|
12 |
Tested up to: 3.2.1
|
13 |
|
14 |
-
Stable tag: 1.3
|
15 |
|
16 |
|
17 |
kk Star Ratings allows blog visitors to involve and interact more effectively with your website by rating posts.
|
@@ -95,5 +95,8 @@ First of all make sure you have selected where to display the ratings in the set
|
|
95 |
= 1.3 =
|
96 |
* Added a widget. Now you can show top rated posts in your sidebar :).
|
97 |
|
|
|
|
|
|
|
98 |
|
99 |
== Upgrade Notice ==
|
11 |
|
12 |
Tested up to: 3.2.1
|
13 |
|
14 |
+
Stable tag: 1.3.1
|
15 |
|
16 |
|
17 |
kk Star Ratings allows blog visitors to involve and interact more effectively with your website by rating posts.
|
95 |
= 1.3 =
|
96 |
* Added a widget. Now you can show top rated posts in your sidebar :).
|
97 |
|
98 |
+
= 1.3.1 =
|
99 |
+
* Fixed: flushing/removing of ratings for widget included. Thanks to feedback from glyn.
|
100 |
+
|
101 |
|
102 |
== Upgrade Notice ==
|