Yasr – Yet Another Stars Rating - Version 1.1.5

Version Description

  • TWEAKED: removed usless add_actions
Download this release

Release Info

Developer Dudo
Plugin Icon 128x128 Yasr – Yet Another Stars Rating
Version 1.1.5
Comparing to
See all releases

Code changes from version 1.1.4 to 1.1.5

lib/yasr-admin-actions.php CHANGED
@@ -29,25 +29,6 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
29
}
30
31
32
- //Always return False, lower priority as possible
33
- add_filter( 'yasr_filter_schema_microdata', 'yasr_filter_schema_microdata_callback', 999);
34
-
35
- function yasr_filter_schema_microdata_callback () {
36
-
37
- return FALSE;
38
-
39
- }
40
-
41
- //Always return False
42
- add_filter( 'yasr_filter_schema_jsonld', 'yasr_filter_schema_jsonld_callback', 999);
43
-
44
- function yasr_filter_schema_jsonld_callback () {
45
-
46
- return FALSE;
47
-
48
- }
49
-
50
-
51
//DElete caches for wp_super_Cache and wp_rocket
52
add_action('yasr_action_on_visitor_vote', 'yasr_delete_cache' );
53
add_action('yasr_action_on_update_visitor_vote', 'yasr_delete_cache');
29
}
30
31
32
//DElete caches for wp_super_Cache and wp_rocket
33
add_action('yasr_action_on_visitor_vote', 'yasr_delete_cache' );
34
add_action('yasr_action_on_update_visitor_vote', 'yasr_delete_cache');
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: 5 star, admin, administrator, AJAX, five-star, javascript, jquery, post r
4
Requires at least: 3.5
5
Contributors: Dudo
6
Tested up to: 4.4
7
- Stable tag: 1.1.4
8
License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
10
Yet Another Stars Rating is a simple plugin which allows you and / or your visitor to rate a post or element. Ideal for review's website
@@ -110,6 +110,9 @@ Of course not: you can easily add it on the visual editor just by clicking on th
110
111
== Changelog ==
112
113
= 1.1.4 =
114
* TWEAKED: added 2 new actions: yasr_action_on_overall_rating runs when the overall rating vote is insert or update, and yasr_action_on_visitor_vote runs when an user insert a vote and last yasr_action_on_update_visitor_vote that run when a logged in user update his vote
115
* FIXED: changed to a lower priority on 2 actions
4
Requires at least: 3.5
5
Contributors: Dudo
6
Tested up to: 4.4
7
+ Stable tag: 1.1.5
8
License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
10
Yet Another Stars Rating is a simple plugin which allows you and / or your visitor to rate a post or element. Ideal for review's website
110
111
== Changelog ==
112
113
+ = 1.1.5 =
114
+ * TWEAKED: removed usless add_actions
115
+
116
= 1.1.4 =
117
* TWEAKED: added 2 new actions: yasr_action_on_overall_rating runs when the overall rating vote is insert or update, and yasr_action_on_visitor_vote runs when an user insert a vote and last yasr_action_on_update_visitor_vote that run when a logged in user update his vote
118
* FIXED: changed to a lower priority on 2 actions
yet-another-stars-rating.php CHANGED
@@ -3,7 +3,7 @@
3
* Plugin Name: Yet Another Stars Rating
4
* Plugin URI: http://wordpress.org/plugins/yet-another-stars-rating/
5
* Description: Yet Another Stars Rating turn your WordPress into a complete review website.
6
- * Version: 1.1.4
7
* Author: Dario Curvino
8
* Author URI: https://yetanotherstarsrating.com/
9
* Text Domain: yet-another-stars-rating
@@ -32,7 +32,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
32
if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // Exit if accessed directly
33
34
35
- define('YASR_VERSION_NUM', '1.1.4');
36
37
//Plugin relative path
38
define( "YASR_ABSOLUTE_PATH", dirname(__FILE__) );
3
* Plugin Name: Yet Another Stars Rating
4
* Plugin URI: http://wordpress.org/plugins/yet-another-stars-rating/
5
* Description: Yet Another Stars Rating turn your WordPress into a complete review website.
6
+ * Version: 1.1.5
7
* Author: Dario Curvino
8
* Author URI: https://yetanotherstarsrating.com/
9
* Text Domain: yet-another-stars-rating
32
if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // Exit if accessed directly
33
34
35
+ define('YASR_VERSION_NUM', '1.1.5');
36
37
//Plugin relative path
38
define( "YASR_ABSOLUTE_PATH", dirname(__FILE__) );