Yasr – Yet Another Stars Rating - Version 2.2.4

Version Description

  • FIXED: Multi Set didn't shows up vote in admin screen
  • FIXED: attribute "readonly" to the yasr_visitor_votes shortcode
  • TWEAKED: minor changes in settings panel
Download this release

Release Info

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

Code changes from version 2.2.3 to 2.2.4

changelog.txt CHANGED
@@ -1,3 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  = 2.0.0 =
2
  * NEW FEATURE: is now possible to import date from:
3
  - Wp Post Ratings
1
+ = 2.1.4 =
2
+ * FIXED: undefined variable when saving/updating post or page
3
+ * TWEAKED: changed delete_post_meta with delete_metadata
4
+ * TWEAKED: Updated support link in settings pages
5
+ [//]: # fs_premium_only_begin
6
+ * TWEAKED: code cleanup
7
+ * FIXED: text position on yasr_pro_overall_rating_chart
8
+ [//]: # fs_premium_only_end
9
+
10
+ = 2.1.3 =
11
+ * FIXED: in some older (and rare) mysql or mariadb versions, the function JSON_OBJECT is not supported.
12
+ This was causing the import of multiset data failing since version 2.0.9
13
+ * FIXED: in backed, multiset rating didn't get saved if set_id = 0
14
+ * Minor changes
15
+
16
+ = 2.1.2 =
17
+ * NEW FEATURE: is now possible to import rating from Multi Rating
18
+ * TWEAKED: updated freemius sdk to version 2.3.2
19
+ * FIXED: MultiSet fix for users that enabled it on version prior of 2.1.0 and had setid=0
20
+
21
+ = 2.1.1 =
22
+ * FIXED: on new installations, tables yasr_multi_set and yasr_multi_set_fields didn't get created
23
+
24
+ = 2.1.0 =
25
+ * TWEAKED: This is the second important release after 2.0.9. YASR Database structure is now more efficent if you're
26
+ using MultiSets. If everything works, it is possible to remove the table _yasr_multi_values.
27
+ * TWEAKED: "logs" page is now called "stats"
28
+ * NEW FEATURE: inside the "stats" page is now possible to see, and delete, stats for yasr_visitor_multiset shortcode
29
+ * TWEAKED: Code cleanup
30
+
31
+ = 2.0.9 =
32
+ * TWEAKED: This is the first of two important releases for YASR. Some changes in the database has been done.
33
+ **BACKUP YOUR DATABASE BEFORE UPDATING**
34
+ * FIXED: RTL support in admin area
35
+
36
+ = 2.0.8 =
37
+ * NEW FEATURE: Added a box to the top right, that will allow to select if the post is a review or not.
38
+ More info here [here](https://yetanotherstarsrating.com/yasr-rich-snippets/)
39
+ * FIXED: warning that in some rare circumstances may appear in yasr_schema function
40
+
41
+
42
+ = 2.0.7 =
43
+ * TWEAKED: changed a define to support php version <7
44
+
45
+ = 2.0.6 =
46
+ * NEW FEATURE: in Gutenberg, is now possible to rate "overall Rating" in both blocks and sidebar
47
+ * IMPORTANT CHANGES ON RICH SNIPPETS: due to [this google announcement] (https://webmasters.googleblog.com/2019/09/making-review-rich-results-more-helpful.html)
48
+ BlogPosting data type doesn't have ratings anymore. These types have been added: Book, Movie, Game.
49
+ Many other support types will comes.
50
+
51
+ = 2.0.5 =
52
+ * FIXED: Warning: array_merge(): on line 552 in yasr-functions.php
53
+
54
+ = 2.0.4 =
55
+ * NEW FEATURE: is now possible align to left, center or right if auto insert is used
56
+ * TWEAKED: check tidy version before use it: this will fix some enconding issue if an old version in server is installed
57
+ * TWEAKED: esc_html used instead of htmlspecialchars in the settings page
58
+ * TWEAKED: added a new filter yasr_filter_existing_schema: useful if there is the need to add new rich snippets
59
+ * TWEAKED: minor changes on schema function (thanks to Olivier)
60
+ [//]: # fs_premium_only_begin
61
+ * NEW FEATURE: it's now possible to add custom text after yasr_pro_average_comments_ratings
62
+ [//]: # fs_premium_only_end
63
+
64
+ = 2.0.3 =
65
+ * TWEAKED: some changes in settings page
66
+ * TWEAKED: new default values for new installations.
67
+
68
+ = 2.0.2 =
69
+ * TWEAKED: Multisite support!!
70
+ * TWEAKED: In gutenberg editor, now a link for Yasr Sidebar is available
71
+ * FIXED: gutenberg showing "updated failed" in some rare circumstances
72
+
73
+ = 2.0.1 =
74
+ * TWEAKED: changed code in yasr-shortcode-functions.php to support php version < 7
75
+
76
  = 2.0.0 =
77
  * NEW FEATURE: is now possible to import date from:
78
  - Wp Post Ratings
lib/admin/settings/yasr-settings-functions.php CHANGED
@@ -74,15 +74,77 @@ function yasr_general_options_init() {
74
  'yet-another-stars-rating'),
75
  '<p>&nbsp;</p>', '<br />');
76
 
77
- add_settings_section('yasr_general_options_section_id', __('General settings', 'yet-another-stars-rating'), 'yasr_section_callback', 'yasr_general_settings_tab');
78
- add_settings_field('yasr_use_auto_insert_id', $description_auto_insert, 'yasr_auto_insert_callback', 'yasr_general_settings_tab', 'yasr_general_options_section_id', $option);
79
- add_settings_field('yasr_custom_text', __('Insert custom text to show before / after stars', 'yet-another-stars-rating'), 'yasr_custom_text_callback', 'yasr_general_settings_tab', 'yasr_general_options_section_id', $option);
80
- add_settings_field('yasr_show_overall_in_loop', __('Show "Overall Rating" in Archive Page?', 'yet-another-stars-rating'), 'yasr_show_overall_in_loop_callback', 'yasr_general_settings_tab', 'yasr_general_options_section_id', $option);
81
- add_settings_field('yasr_show_visitor_votes_in_loop', __('Show "Visitor Votes" in Archive Page?', 'yet-another-stars-rating'), 'yasr_show_visitor_votes_in_loop_callback', 'yasr_general_settings_tab', 'yasr_general_options_section_id', $option);
82
- add_settings_field('yasr_visitors_stats', __('Do you want show stats for visitors votes?', 'yet-another-stars-rating'), 'yasr_visitors_stats_callback', 'yasr_general_settings_tab', 'yasr_general_options_section_id', $option);
83
- add_settings_field('yasr_allow_only_logged_in_id', __('Allow only logged in user to vote?', 'yet-another-stars-rating'), 'yasr_allow_only_logged_in_callback', 'yasr_general_settings_tab', 'yasr_general_options_section_id', $option);
84
- add_settings_field('yasr_enable_ip', __('Do you want to save ip address?', 'yet-another-stars-rating'), 'yasr_enable_ip_callback', 'yasr_general_settings_tab', 'yasr_general_options_section_id', $option);
85
- add_settings_field('yasr_choose_snippet_id', __('Rich snippet options', 'yet-another-stars-rating'), 'yasr_choose_snippet_callback', 'yasr_general_settings_tab', 'yasr_general_options_section_id', $option);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
86
  }
87
 
88
  function yasr_section_callback() {
@@ -404,16 +466,16 @@ function yasr_custom_text_callback($option) {
404
 
405
  }
406
 
407
- function yasr_show_overall_in_loop_callback($option) {
408
 
409
  ?>
410
 
411
  <div class="yasr-onoffswitch-big">
412
- <input type="checkbox" name="yasr_general_options[show_overall_in_loop]" class="yasr-onoffswitch-checkbox"
413
- id="yasr-show-overall-in-loop-switch" <?php if ($option['show_overall_in_loop'] === 'enabled') {
414
  echo " checked='checked' ";
415
  } ?> >
416
- <label class="yasr-onoffswitch-label" for="yasr-show-overall-in-loop-switch">
417
  <span class="yasr-onoffswitch-inner"></span>
418
  <span class="yasr-onoffswitch-switch"></span>
419
  </label>
@@ -421,24 +483,48 @@ function yasr_show_overall_in_loop_callback($option) {
421
 
422
  <br/> <br/>
423
 
424
- <?php _e('If you enable this, "Overall Rating" will be showed not only in the single article or page, but also in pages like Home Page, category pages or archives.', 'yet-another-stars-rating') ?>
 
 
425
 
426
  <p>&nbsp;</p>
427
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
428
  <?php
429
 
430
  }
431
 
432
- function yasr_show_visitor_votes_in_loop_callback($option) {
433
 
434
  ?>
435
 
436
  <div class="yasr-onoffswitch-big">
437
- <input type="checkbox" name="yasr_general_options[show_visitor_votes_in_loop]" class="yasr-onoffswitch-checkbox"
438
- id="yasr-show-visitor-votes-in-loop-switch" <?php if ($option['show_visitor_votes_in_loop'] === 'enabled') {
439
  echo " checked='checked' ";
440
  } ?> >
441
- <label class="yasr-onoffswitch-label" for="yasr-show-visitor-votes-in-loop-switch">
442
  <span class="yasr-onoffswitch-inner"></span>
443
  <span class="yasr-onoffswitch-switch"></span>
444
  </label>
@@ -446,32 +532,24 @@ function yasr_show_visitor_votes_in_loop_callback($option) {
446
 
447
  <br/> <br/>
448
 
449
- <?php _e('If you enable this, "Visitor Votes" will be showed not only in the single article or page, but also in pages like Home Page, category pages or archives.', 'yet-another-stars-rating') ?>
450
 
451
  <p>&nbsp;</p>
452
 
453
- <?php
454
- submit_button(YASR_SAVE_All_SETTINGS_TEXT);
455
- ?>
456
-
457
- <br/>
458
-
459
- <hr>
460
-
461
  <?php
462
 
463
  }
464
 
465
- function yasr_visitors_stats_callback($option) {
466
 
467
  ?>
468
 
469
  <div class="yasr-onoffswitch-big">
470
- <input type="checkbox" name="yasr_general_options[visitors_stats]" class="yasr-onoffswitch-checkbox"
471
- id="yasr-general-options-visitors-stats-switch" <?php if ($option['visitors_stats'] === 'yes') {
472
  echo " checked='checked' ";
473
  } ?> >
474
- <label class="yasr-onoffswitch-label" for="yasr-general-options-visitors-stats-switch">
475
  <span class="yasr-onoffswitch-inner"></span>
476
  <span class="yasr-onoffswitch-switch"></span>
477
  </label>
@@ -479,31 +557,15 @@ function yasr_visitors_stats_callback($option) {
479
 
480
  <br/> <br/>
481
 
482
- <?php
483
- _e('Enable or disable the chart bar icon (and tooltip hover it) near the yasr_visitor_votes shortcode.');
484
- ?>
485
 
486
  <p>&nbsp;</p>
487
 
488
- <a href="#" id="yasr-stats-explained-link"><?php _e("Example", 'yet-another-stars-rating') ?></a>
489
-
490
- <div id="yasr-stats-explained" class="yasr-help-box-settings">
491
- <?php
492
- echo '<strong>';
493
- _e('ENABLED:', 'yet-another-stars-rating');
494
- echo "</strong>
495
- <hr />
496
- <img src=" . YASR_IMG_DIR . "yasr_settings_stats_enabled.png>";
497
-
498
- echo '<br /><br /><strong>';
499
- _e('DISABLED:', 'yet-another-stars-rating');
500
- echo "</strong>
501
- <hr />
502
- <img src=" . YASR_IMG_DIR . "yasr_settings_stats_disabled.png>";
503
- ?>
504
- </div>
505
 
506
- <p>&nbsp;</p>
507
 
508
  <hr>
509
 
74
  'yet-another-stars-rating'),
75
  '<p>&nbsp;</p>', '<br />');
76
 
77
+ add_settings_section(
78
+ 'yasr_general_options_section_id',
79
+ __('General settings', 'yet-another-stars-rating'),
80
+ 'yasr_section_callback',
81
+ 'yasr_general_settings_tab'
82
+ );
83
+
84
+ add_settings_field(
85
+ 'yasr_use_auto_insert_id',
86
+ $description_auto_insert,
87
+ 'yasr_auto_insert_callback',
88
+ 'yasr_general_settings_tab',
89
+ 'yasr_general_options_section_id',
90
+ $option
91
+ );
92
+ add_settings_field(
93
+ 'yasr_custom_text',
94
+ __('Insert custom text to show before / after stars', 'yet-another-stars-rating'),
95
+ 'yasr_custom_text_callback',
96
+ 'yasr_general_settings_tab',
97
+ 'yasr_general_options_section_id',
98
+ $option
99
+ );
100
+ add_settings_field(
101
+ 'yasr_visitors_stats',
102
+ __('Do you want show stats for visitors votes?', 'yet-another-stars-rating'),
103
+ 'yasr_visitors_stats_callback',
104
+ 'yasr_general_settings_tab',
105
+ 'yasr_general_options_section_id',
106
+ $option
107
+ );
108
+ add_settings_field(
109
+ 'yasr_show_overall_in_loop',
110
+ __('Show "Overall Rating" in Archive Page?', 'yet-another-stars-rating'),
111
+ 'yasr_show_overall_in_loop_callback',
112
+ 'yasr_general_settings_tab',
113
+ 'yasr_general_options_section_id',
114
+ $option
115
+ );
116
+ add_settings_field(
117
+ 'yasr_show_visitor_votes_in_loop',
118
+ __('Show "Visitor Votes" in Archive Page?', 'yet-another-stars-rating'),
119
+ 'yasr_show_visitor_votes_in_loop_callback',
120
+ 'yasr_general_settings_tab',
121
+ 'yasr_general_options_section_id',
122
+ $option
123
+ );
124
+ add_settings_field(
125
+ 'yasr_allow_only_logged_in_id',
126
+ __('Allow only logged in user to vote?', 'yet-another-stars-rating'),
127
+ 'yasr_allow_only_logged_in_callback',
128
+ 'yasr_general_settings_tab',
129
+ 'yasr_general_options_section_id',
130
+ $option
131
+ );
132
+ add_settings_field(
133
+ 'yasr_enable_ip',
134
+ __('Do you want to save ip address?', 'yet-another-stars-rating'),
135
+ 'yasr_enable_ip_callback',
136
+ 'yasr_general_settings_tab',
137
+ 'yasr_general_options_section_id',
138
+ $option
139
+ );
140
+ add_settings_field(
141
+ 'yasr_choose_snippet_id',
142
+ __('Rich snippet options', 'yet-another-stars-rating'),
143
+ 'yasr_choose_snippet_callback',
144
+ 'yasr_general_settings_tab',
145
+ 'yasr_general_options_section_id',
146
+ $option
147
+ );
148
  }
149
 
150
  function yasr_section_callback() {
466
 
467
  }
468
 
469
+ function yasr_visitors_stats_callback($option) {
470
 
471
  ?>
472
 
473
  <div class="yasr-onoffswitch-big">
474
+ <input type="checkbox" name="yasr_general_options[visitors_stats]" class="yasr-onoffswitch-checkbox"
475
+ id="yasr-general-options-visitors-stats-switch" <?php if ($option['visitors_stats'] === 'yes') {
476
  echo " checked='checked' ";
477
  } ?> >
478
+ <label class="yasr-onoffswitch-label" for="yasr-general-options-visitors-stats-switch">
479
  <span class="yasr-onoffswitch-inner"></span>
480
  <span class="yasr-onoffswitch-switch"></span>
481
  </label>
483
 
484
  <br/> <br/>
485
 
486
+ <?php
487
+ _e('Enable or disable the chart bar icon (and tooltip hover it) near the yasr_visitor_votes shortcode.');
488
+ ?>
489
 
490
  <p>&nbsp;</p>
491
 
492
+ <a href="#" id="yasr-stats-explained-link"><?php _e("Example", 'yet-another-stars-rating') ?></a>
493
+
494
+ <div id="yasr-stats-explained" class="yasr-help-box-settings">
495
+ <?php
496
+ echo '<strong>';
497
+ _e('ENABLED:', 'yet-another-stars-rating');
498
+ echo "</strong>
499
+ <hr />
500
+ <img src=" . YASR_IMG_DIR . "yasr_settings_stats_enabled.png>";
501
+
502
+ echo '<br /><br /><strong>';
503
+ _e('DISABLED:', 'yet-another-stars-rating');
504
+ echo "</strong>
505
+ <hr />
506
+ <img src=" . YASR_IMG_DIR . "yasr_settings_stats_disabled.png>";
507
+ ?>
508
+ </div>
509
+
510
+ <p>&nbsp;</p>
511
+
512
+ <hr>
513
+
514
  <?php
515
 
516
  }
517
 
518
+ function yasr_show_overall_in_loop_callback($option) {
519
 
520
  ?>
521
 
522
  <div class="yasr-onoffswitch-big">
523
+ <input type="checkbox" name="yasr_general_options[show_overall_in_loop]" class="yasr-onoffswitch-checkbox"
524
+ id="yasr-show-overall-in-loop-switch" <?php if ($option['show_overall_in_loop'] === 'enabled') {
525
  echo " checked='checked' ";
526
  } ?> >
527
+ <label class="yasr-onoffswitch-label" for="yasr-show-overall-in-loop-switch">
528
  <span class="yasr-onoffswitch-inner"></span>
529
  <span class="yasr-onoffswitch-switch"></span>
530
  </label>
532
 
533
  <br/> <br/>
534
 
535
+ <?php _e('If you enable this, "Overall Rating" will be showed not only in the single article or page, but also in pages like Home Page, category pages or archives.', 'yet-another-stars-rating') ?>
536
 
537
  <p>&nbsp;</p>
538
 
 
 
 
 
 
 
 
 
539
  <?php
540
 
541
  }
542
 
543
+ function yasr_show_visitor_votes_in_loop_callback($option) {
544
 
545
  ?>
546
 
547
  <div class="yasr-onoffswitch-big">
548
+ <input type="checkbox" name="yasr_general_options[show_visitor_votes_in_loop]" class="yasr-onoffswitch-checkbox"
549
+ id="yasr-show-visitor-votes-in-loop-switch" <?php if ($option['show_visitor_votes_in_loop'] === 'enabled') {
550
  echo " checked='checked' ";
551
  } ?> >
552
+ <label class="yasr-onoffswitch-label" for="yasr-show-visitor-votes-in-loop-switch">
553
  <span class="yasr-onoffswitch-inner"></span>
554
  <span class="yasr-onoffswitch-switch"></span>
555
  </label>
557
 
558
  <br/> <br/>
559
 
560
+ <?php _e('If you enable this, "Visitor Votes" will be showed not only in the single article or page, but also in pages like Home Page, category pages or archives.', 'yet-another-stars-rating') ?>
 
 
561
 
562
  <p>&nbsp;</p>
563
 
564
+ <?php
565
+ submit_button(YASR_SAVE_All_SETTINGS_TEXT);
566
+ ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
567
 
568
+ <br/>
569
 
570
  <hr>
571
 
lib/yasr-shortcode-classes.php CHANGED
@@ -219,7 +219,7 @@ class YasrVisitorVotes extends YasrShortcode {
219
  if ($this->readonly === true || $this->readonly === "yes") {
220
  $htmlid = 'yasr-visitor-votes-readonly-rater-'.$unique_id;
221
 
222
- $this->shortcode_html = "<div class='yasr-rater-stars-visitor-votes\'
223
  id='$htmlid'
224
  data-rating='$this->medium_rating'
225
  data-rater-starsize='$stars_size'
219
  if ($this->readonly === true || $this->readonly === "yes") {
220
  $htmlid = 'yasr-visitor-votes-readonly-rater-'.$unique_id;
221
 
222
+ $this->shortcode_html = "<div class='yasr-rater-stars-visitor-votes'
223
  id='$htmlid'
224
  data-rating='$this->medium_rating'
225
  data-rater-starsize='$stars_size'
readme.txt CHANGED
@@ -5,7 +5,7 @@ Requires at least: 4.9.0
5
  Contributors: Dudo
6
  Tested up to: 5.4
7
  Requires PHP: 5.3
8
- Stable tag: 2.2.3
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
11
  Boost the way people interact with your site with an easy WordPress stars rating system! With schema.org rich snippets YASR will improve your SEO
@@ -125,6 +125,11 @@ If doesn't, it's suggested to ask in a SEO oriented forum.
125
 
126
  The full changelog can be found in the plugin's directory. Recent entries:
127
 
 
 
 
 
 
128
  = 2.2.3 =
129
  * NEW FEATURE: Added support for the following structured datas:
130
  - Course
@@ -156,75 +161,6 @@ The full changelog can be found in the plugin's directory. Recent entries:
156
  * FIXED: gutenberg shortcode preview yasr_top_ten_highest_rated shortcode
157
 
158
 
159
- = 2.1.4 =
160
- * FIXED: undefined variable when saving/updating post or page
161
- * TWEAKED: changed delete_post_meta with delete_metadata
162
- * TWEAKED: Updated support link in settings pages
163
-
164
-
165
- = 2.1.3 =
166
- * FIXED: in some older (and rare) mysql or mariadb versions, the function JSON_OBJECT is not supported.
167
- This was causing the import of multiset data failing since version 2.0.9
168
- * FIXED: in backed, multiset rating didn't get saved if set_id = 0
169
- * Minor changes
170
-
171
- = 2.1.2 =
172
- * NEW FEATURE: is now possible to import rating from Multi Rating
173
- * TWEAKED: updated freemius sdk to version 2.3.2
174
- * FIXED: MultiSet fix for users that enabled it on version prior of 2.1.0 and had setid=0
175
-
176
- = 2.1.1 =
177
- * FIXED: on new installations, tables yasr_multi_set and yasr_multi_set_fields didn't get created
178
-
179
- = 2.1.0 =
180
- * TWEAKED: This is the second important release after 2.0.9. YASR Database structure is now more efficent if you're
181
- using MultiSets. If everything works, it is possible to remove the table _yasr_multi_values.
182
- * TWEAKED: "logs" page is now called "stats"
183
- * NEW FEATURE: inside the "stats" page is now possible to see, and delete, stats for yasr_visitor_multiset shortcode
184
- * TWEAKED: Code cleanup
185
-
186
- = 2.0.9 =
187
- * TWEAKED: This is the first of two important releases for YASR. Some changes in the database has been done.
188
- **BACKUP YOUR DATABASE BEFORE UPDATING**
189
- * FIXED: RTL support in admin area
190
-
191
- = 2.0.8 =
192
- * NEW FEATURE: Added a box to the top right, that will allow to select if the post is a review or not.
193
- More info here [here](https://yetanotherstarsrating.com/yasr-rich-snippets/)
194
- * FIXED: warning that in some rare circumstances may appear in yasr_schema function
195
-
196
- = 2.0.7 =
197
- * TWEAKED: changed a define to support php version <7
198
-
199
- = 2.0.6 =
200
- * NEW FEATURE: in Gutenberg, is now possible to rate "overall Rating" in both blocks and sidebar
201
- * IMPORTANT CHANGES ON RICH SNIPPETS: due to [this google announcement] (https://webmasters.googleblog.com/2019/09/making-review-rich-results-more-helpful.html)
202
- BlogPosting data type doesn't have ratings anymore. These types have been added: Book, Movie, Game.
203
- Many other support types will comes.
204
-
205
- = 2.0.5 =
206
- * FIXED: Warning: array_merge(): on line 552 in yasr-functions.php
207
-
208
- = 2.0.4 =
209
- * NEW FEATURE: is now possible align to left, center or right if auto insert is used
210
- * TWEAKED: check tidy version before use it: this will fix some enconding issue if an old version in server is installed
211
- * TWEAKED: esc_html used instead of htmlspecialchars in the settings page
212
- * TWEAKED: added a new filter yasr_filter_existing_schema: useful if there is the need to add new rich snippets
213
- * TWEAKED: minor changes on schema function (thanks to Olivier)
214
-
215
-
216
- = 2.0.3 =
217
- * TWEAKED: some changes in settings page
218
- * TWEAKED: new default values for new installations.
219
-
220
- = 2.0.2 =
221
- * TWEAKED: Multisite support!!
222
- * TWEAKED: In gutenberg editor, now a link for Yasr Sidebar is available
223
- * FIXED: gutenberg showing "updated failed" in some rare circumstances
224
-
225
- = 2.0.1 =
226
- * TWEAKED: changed code in yasr-shortcode-functions.php to support php version < 7
227
-
228
  = Additional Info =
229
  External Libraries: [Rater](https://github.com/fredolss/rater-js)
230
  [tippy](https://atomiks.github.io/tippyjs/)
5
  Contributors: Dudo
6
  Tested up to: 5.4
7
  Requires PHP: 5.3
8
+ Stable tag: 2.2.4
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
11
  Boost the way people interact with your site with an easy WordPress stars rating system! With schema.org rich snippets YASR will improve your SEO
125
 
126
  The full changelog can be found in the plugin's directory. Recent entries:
127
 
128
+ = 2.2.4 =
129
+ * FIXED: Multi Set didn't shows up vote in admin screen
130
+ * FIXED: attribute "readonly" to the yasr_visitor_votes shortcode
131
+ * TWEAKED: minor changes in settings panel
132
+
133
  = 2.2.3 =
134
  * NEW FEATURE: Added support for the following structured datas:
135
  - Course
161
  * FIXED: gutenberg shortcode preview yasr_top_ten_highest_rated shortcode
162
 
163
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
164
  = Additional Info =
165
  External Libraries: [Rater](https://github.com/fredolss/rater-js)
166
  [tippy](https://atomiks.github.io/tippyjs/)
yet-another-stars-rating.php CHANGED
@@ -5,7 +5,7 @@
5
  * Plugin URI: http://wordpress.org/plugins/yet-another-stars-rating/
6
  * Description: Yasr - Yet Another Stars Rating is a powerful way to add SEO-friendly user-generated reviews and
7
  * testimonials to your website posts, pages and CPT, without affecting its speed.
8
- * Version: 2.2.3
9
  * Author: Dario Curvino
10
  * Author URI: https://dariocurvino.it/
11
  * Text Domain: yet-another-stars-rating
@@ -77,7 +77,7 @@ if ( !function_exists( 'yasr_fs' ) ) {
77
  yasr_fs();
78
  // Signal that SDK was initiated.
79
  do_action( 'yasr_fs_loaded' );
80
- define( 'YASR_VERSION_NUM', '2.2.3' );
81
  //Plugin relative path
82
  define( "YASR_ABSOLUTE_PATH", dirname( __FILE__ ) );
83
  //Plugin RELATIVE PATH without slashes (just the directory's name)
5
  * Plugin URI: http://wordpress.org/plugins/yet-another-stars-rating/
6
  * Description: Yasr - Yet Another Stars Rating is a powerful way to add SEO-friendly user-generated reviews and
7
  * testimonials to your website posts, pages and CPT, without affecting its speed.
8
+ * Version: 2.2.4
9
  * Author: Dario Curvino
10
  * Author URI: https://dariocurvino.it/
11
  * Text Domain: yet-another-stars-rating
77
  yasr_fs();
78
  // Signal that SDK was initiated.
79
  do_action( 'yasr_fs_loaded' );
80
+ define( 'YASR_VERSION_NUM', '2.2.4' );
81
  //Plugin relative path
82
  define( "YASR_ABSOLUTE_PATH", dirname( __FILE__ ) );
83
  //Plugin RELATIVE PATH without slashes (just the directory's name)