Yasr – Yet Another Stars Rating - Version 1.0.7

Version Description

  • FIXED: minor bugfix in settings page
Download this release

Release Info

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

Code changes from version 1.0.6 to 1.0.7

lib/yasr-functions.php CHANGED
@@ -46,12 +46,12 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
46
wp_add_inline_style( 'yasrcss', YASR_CUSTOM_CSS_RULES );
47
}
48
49
- do_action('yasr_add_front_script_js');
50
-
51
- wp_enqueue_script( 'rateit', YASR_JS_DIR . 'jquery.rateit.min.js' , array('jquery'), '1.0.22', TRUE );
52
53
wp_enqueue_script( 'yasrfront', YASR_JS_DIR . 'yasr-front.js' , array('jquery', 'rateit'), '1.0.0', TRUE );
54
55
$yasr_visitor_votes_loader = '<div id="loader-visitor-rating" >&nbsp; ' . __("Loading, please wait",'yet-another-stars-rating') . ' <img src=' . YASR_IMG_DIR . '/loader.gif title="yasr-loader" alt="yasr-loader"></div>';
56
57
$tooltip_values = __("bad, poor, ok, good, super", 'yet-another-stars-rating');
46
wp_add_inline_style( 'yasrcss', YASR_CUSTOM_CSS_RULES );
47
}
48
49
+ wp_enqueue_script( 'rateit', YASR_JS_DIR . 'jquery.rateit.min.js' , array('jquery'), '1.0.22', TRUE );
50
51
wp_enqueue_script( 'yasrfront', YASR_JS_DIR . 'yasr-front.js' , array('jquery', 'rateit'), '1.0.0', TRUE );
52
53
+ do_action('yasr_add_front_script_js');
54
+
55
$yasr_visitor_votes_loader = '<div id="loader-visitor-rating" >&nbsp; ' . __("Loading, please wait",'yet-another-stars-rating') . ' <img src=' . YASR_IMG_DIR . '/loader.gif title="yasr-loader" alt="yasr-loader"></div>';
56
57
$tooltip_values = __("bad, poor, ok, good, super", 'yet-another-stars-rating');
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.0.6
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
@@ -121,6 +121,9 @@ Of course not: you can easily add it on the visual editor just by clicking on th
121
122
== Changelog ==
123
124
= 1.0.6 =
125
* Added a new filter hook on microdata and jsonld info
126
* Fixed php notice
4
Requires at least: 3.5
5
Contributors: Dudo
6
Tested up to: 4.4
7
+ Stable tag: 1.0.7
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
121
122
== Changelog ==
123
124
+ = 1.0.7 =
125
+ * FIXED: minor bugfix in settings page
126
+
127
= 1.0.6 =
128
* Added a new filter hook on microdata and jsonld info
129
* Fixed php notice
yasr-settings-page.php CHANGED
@@ -79,7 +79,7 @@ $n_multi_set = NULL; //Evoid undefined variable when printed outside multiset ta
79
80
<h2 class="nav-tab-wrapper yasr-no-underline">
81
82
- <a href="?page=yasr_settings_page&tab=general_settings" class="nav-tab <?php if ($active_tab == 'general_settings' || ($active_tab != 'manage_multi' && $active_tab != 'style_options' && $active_tab != 'go_pro' && $active_tab != 'pro_general_options' && $active_tab != 'charts_options' && $active_tab != 'activate_license')) echo 'nav-tab-active'; ?>" > <?php _e("General Settings", 'yet-another-stars-rating'); ?> </a>
83
<a href="?page=yasr_settings_page&tab=manage_multi" class="nav-tab <?php if ($active_tab == 'manage_multi') echo 'nav-tab-active'; ?>" > <?php _e("Multi Sets", 'yet-another-stars-rating'); ?> </a>
84
<a href="?page=yasr_settings_page&tab=style_options" class="nav-tab <?php if ($active_tab == 'style_options') echo 'nav-tab-active'; ?>" > <?php _e("Aspect & Styles", 'yet-another-stars-rating'); ?> </a>
85
<?php do_action( 'yasr_add_settings_tab', $active_tab ); ?>
@@ -90,7 +90,7 @@ $n_multi_set = NULL; //Evoid undefined variable when printed outside multiset ta
90
91
<?php
92
93
- if ($active_tab == 'general_settings' || ($active_tab != 'manage_multi' && $active_tab != 'style_options' && $active_tab != 'pro_general_options' && $active_tab != 'charts_options' && $active_tab != 'activate_license' && $active_tab != 'go_pro' )) {
94
95
?>
96
79
80
<h2 class="nav-tab-wrapper yasr-no-underline">
81
82
+ <a href="?page=yasr_settings_page&tab=general_settings" class="nav-tab <?php if ($active_tab == 'general_settings') echo 'nav-tab-active'; ?>" > <?php _e("General Settings", 'yet-another-stars-rating'); ?> </a>
83
<a href="?page=yasr_settings_page&tab=manage_multi" class="nav-tab <?php if ($active_tab == 'manage_multi') echo 'nav-tab-active'; ?>" > <?php _e("Multi Sets", 'yet-another-stars-rating'); ?> </a>
84
<a href="?page=yasr_settings_page&tab=style_options" class="nav-tab <?php if ($active_tab == 'style_options') echo 'nav-tab-active'; ?>" > <?php _e("Aspect & Styles", 'yet-another-stars-rating'); ?> </a>
85
<?php do_action( 'yasr_add_settings_tab', $active_tab ); ?>
90
91
<?php
92
93
+ if ($active_tab == 'general_settings') {
94
95
?>
96
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: Rating system with rich snippets
6
- * Version: 1.0.6
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.0.6');
36
37
//Plugin relative path
38
define( "YASR_RELATIVE_PATH", dirname(__FILE__) );
3
* Plugin Name: Yet Another Stars Rating
4
* Plugin URI: http://wordpress.org/plugins/yet-another-stars-rating/
5
* Description: Rating system with rich snippets
6
+ * Version: 1.0.7
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.0.7');
36
37
//Plugin relative path
38
define( "YASR_RELATIVE_PATH", dirname(__FILE__) );