kk Star Ratings - Version 5.2.4

Version Description

Download this release

Release Info

Developer bhittani
Plugin Icon 128x128 kk Star Ratings
Version 5.2.4
Comparing to
See all releases

Code changes from version 5.2.3 to 5.2.4

CHANGELOG.md CHANGED
@@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
5
  The format is based on [Keep a Changelog](http://keepachangelog.com/)
6
  and this project adheres to [Semantic Versioning](http://semver.org/).
7
 
 
 
 
 
 
8
  ## [5.2.3] - 2021-11-14
9
 
10
  ### Fixed
5
  The format is based on [Keep a Changelog](http://keepachangelog.com/)
6
  and this project adheres to [Semantic Versioning](http://semver.org/).
7
 
8
+ ## [5.2.4] - 2021-11-22
9
+
10
+ ### Fixed
11
+ - Removed unwanted html markup that caused errors.
12
+
13
  ## [5.2.3] - 2021-11-14
14
 
15
  ### Fixed
index.php CHANGED
@@ -10,7 +10,7 @@
10
  * Author URI: http://bhittani.com
11
  * Text Domain: kk-star-ratings
12
  * Domain Path: /languages
13
- * Version: 5.2.3
14
  * License: GPLv2 or later
15
  */
16
 
10
  * Author URI: http://bhittani.com
11
  * Text Domain: kk-star-ratings
12
  * Domain Path: /languages
13
+ * Version: 5.2.4
14
  * License: GPLv2 or later
15
  */
16
 
languages/kk-star-ratings.pot CHANGED
@@ -2,14 +2,14 @@
2
  # This file is distributed under the same license as the kk Star Ratings plugin.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: kk Star Ratings 5.2.3\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/kk-star-ratings\n"
7
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
8
  "Language-Team: LANGUAGE <LL@li.org>\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "POT-Creation-Date: 2021-11-14T09:55:26+00:00\n"
13
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14
  "X-Generator: WP-CLI 2.4.0\n"
15
  "X-Domain: kk-star-ratings\n"
@@ -197,79 +197,70 @@ msgstr ""
197
  msgid "Choose the default position for the auto-embedded star ratings."
198
  msgstr ""
199
 
200
- #: src/core/views/admin/tabs/general.php:37
201
  msgctxt "Label"
202
  msgid "Home"
203
  msgstr ""
204
 
205
- #: src/core/views/admin/tabs/general.php:38
206
  msgctxt "Label"
207
  msgid "Archives"
208
  msgstr ""
209
 
210
- #: src/core/views/admin/tabs/general.php:42
211
  msgctxt "Label"
212
  msgid "Allow voting in archives"
213
  msgstr ""
214
 
215
- #: src/core/views/admin/tabs/general.php:43
216
  msgctxt "Label"
217
  msgid "Allow guests to vote"
218
  msgstr ""
219
 
220
- #: src/core/views/admin/tabs/general.php:44
221
  msgctxt "Label"
222
  msgid "Unique votes (based on IP Address)"
223
  msgstr ""
224
 
225
- #: src/core/views/admin/tabs/general.php:54
226
  #: src/core/views/admin/tabs/rich-snippets.php:17
227
  msgctxt "Label"
228
  msgid "Status"
229
  msgstr ""
230
 
231
- #: src/core/views/admin/tabs/general.php:59
232
  msgctxt "Label"
233
  msgid "Active"
234
  msgstr ""
235
 
236
- #: src/core/views/admin/tabs/general.php:62
237
  msgid "Globally activate/deactivate the star ratings."
238
  msgstr ""
239
 
240
- #: src/core/views/admin/tabs/general.php:70
241
  msgctxt "Label"
242
  msgid "Strategies"
243
  msgstr ""
244
 
245
- #: src/core/views/admin/tabs/general.php:82
246
  msgid "Select the voting strategies."
247
  msgstr ""
248
 
249
- #: src/core/views/admin/tabs/general.php:90
250
- msgctxt "Label"
251
- msgid "Manual Control"
252
- msgstr ""
253
-
254
- #: src/core/views/admin/tabs/general.php:102
255
- msgid "Select the post types that should not auto embed the markup and will be manually controlled by the theme. E.g. Using %s in your theme/template file(s)."
256
- msgstr ""
257
-
258
- #: src/core/views/admin/tabs/general.php:110
259
  msgctxt "Label"
260
  msgid "Locations"
261
  msgstr ""
262
 
263
- #: src/core/views/admin/tabs/general.php:122
264
  msgid "Star ratings will be auto-embedded for the selected locations. You may still manually allow star ratings for unselected/other locations. E.g. Using %s in your theme/template file(s)."
265
  msgstr ""
266
 
267
- #: src/core/views/admin/tabs/general.php:130
268
  msgctxt "Label"
269
  msgid "Exclude Categories"
270
  msgstr ""
271
 
272
- #: src/core/views/admin/tabs/general.php:142
273
  msgid "The posts belonging to the selected categories will not auto-embed the star ratings. You may still manually show the star ratings. E.g. Using %s in your theme/template file(s)."
274
  msgstr ""
275
 
@@ -390,13 +381,12 @@ msgctxt "Label"
390
  msgid "Select Icon"
391
  msgstr ""
392
 
393
- #: src/premium/top-rated-posts/classes/TopRatedPostsWidget.php:27
394
- #: src/premium/top-rated-posts/classes/TopRatedPostsWidget.php:66
395
  msgctxt "label"
396
  msgid "Top Rated Posts"
397
  msgstr ""
398
 
399
- #: src/premium/top-rated-posts/classes/TopRatedPostsWidget.php:30
400
  msgid "Show top rated posts."
401
  msgstr ""
402
 
@@ -412,15 +402,15 @@ msgstr ""
412
 
413
  #: src/premium/top-rated-posts/views/widgets/top-rated-posts/form.php:34
414
  msgctxt "label"
415
- msgid "Category"
416
  msgstr ""
417
 
418
- #: src/premium/top-rated-posts/views/widgets/top-rated-posts/form.php:51
419
  msgctxt "label"
420
  msgid "Number of posts"
421
  msgstr ""
422
 
423
- #: src/premium/top-rated-posts/views/widgets/top-rated-posts/form.php:64
424
  msgctxt "label"
425
  msgid "Show score"
426
  msgstr ""
2
  # This file is distributed under the same license as the kk Star Ratings plugin.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: kk Star Ratings 5.2.4\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/kk-star-ratings\n"
7
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
8
  "Language-Team: LANGUAGE <LL@li.org>\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "POT-Creation-Date: 2021-11-22T11:56:15+00:00\n"
13
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14
  "X-Generator: WP-CLI 2.4.0\n"
15
  "X-Domain: kk-star-ratings\n"
197
  msgid "Choose the default position for the auto-embedded star ratings."
198
  msgstr ""
199
 
200
+ #: src/core/views/admin/tabs/general.php:36
201
  msgctxt "Label"
202
  msgid "Home"
203
  msgstr ""
204
 
205
+ #: src/core/views/admin/tabs/general.php:37
206
  msgctxt "Label"
207
  msgid "Archives"
208
  msgstr ""
209
 
210
+ #: src/core/views/admin/tabs/general.php:41
211
  msgctxt "Label"
212
  msgid "Allow voting in archives"
213
  msgstr ""
214
 
215
+ #: src/core/views/admin/tabs/general.php:42
216
  msgctxt "Label"
217
  msgid "Allow guests to vote"
218
  msgstr ""
219
 
220
+ #: src/core/views/admin/tabs/general.php:43
221
  msgctxt "Label"
222
  msgid "Unique votes (based on IP Address)"
223
  msgstr ""
224
 
225
+ #: src/core/views/admin/tabs/general.php:53
226
  #: src/core/views/admin/tabs/rich-snippets.php:17
227
  msgctxt "Label"
228
  msgid "Status"
229
  msgstr ""
230
 
231
+ #: src/core/views/admin/tabs/general.php:58
232
  msgctxt "Label"
233
  msgid "Active"
234
  msgstr ""
235
 
236
+ #: src/core/views/admin/tabs/general.php:61
237
  msgid "Globally activate/deactivate the star ratings."
238
  msgstr ""
239
 
240
+ #: src/core/views/admin/tabs/general.php:69
241
  msgctxt "Label"
242
  msgid "Strategies"
243
  msgstr ""
244
 
245
+ #: src/core/views/admin/tabs/general.php:81
246
  msgid "Select the voting strategies."
247
  msgstr ""
248
 
249
+ #: src/core/views/admin/tabs/general.php:89
 
 
 
 
 
 
 
 
 
250
  msgctxt "Label"
251
  msgid "Locations"
252
  msgstr ""
253
 
254
+ #: src/core/views/admin/tabs/general.php:101
255
  msgid "Star ratings will be auto-embedded for the selected locations. You may still manually allow star ratings for unselected/other locations. E.g. Using %s in your theme/template file(s)."
256
  msgstr ""
257
 
258
+ #: src/core/views/admin/tabs/general.php:109
259
  msgctxt "Label"
260
  msgid "Exclude Categories"
261
  msgstr ""
262
 
263
+ #: src/core/views/admin/tabs/general.php:121
264
  msgid "The posts belonging to the selected categories will not auto-embed the star ratings. You may still manually show the star ratings. E.g. Using %s in your theme/template file(s)."
265
  msgstr ""
266
 
381
  msgid "Select Icon"
382
  msgstr ""
383
 
384
+ #: src/premium/top-rated-posts/classes/TopRatedPostsWidget.php:29
 
385
  msgctxt "label"
386
  msgid "Top Rated Posts"
387
  msgstr ""
388
 
389
+ #: src/premium/top-rated-posts/classes/TopRatedPostsWidget.php:32
390
  msgid "Show top rated posts."
391
  msgstr ""
392
 
402
 
403
  #: src/premium/top-rated-posts/views/widgets/top-rated-posts/form.php:34
404
  msgctxt "label"
405
+ msgid "Categories"
406
  msgstr ""
407
 
408
+ #: src/premium/top-rated-posts/views/widgets/top-rated-posts/form.php:66
409
  msgctxt "label"
410
  msgid "Number of posts"
411
  msgstr ""
412
 
413
+ #: src/premium/top-rated-posts/views/widgets/top-rated-posts/form.php:79
414
  msgctxt "label"
415
  msgid "Show score"
416
  msgstr ""
readme.txt CHANGED
@@ -6,7 +6,7 @@ Tags: star ratings, votings, rate posts, ajax ratings, infinite stars, unlimited
6
  Requires at least: 5.0
7
  Requires PHP: 7.2
8
  Tested up to: 5.8.1
9
- Stable tag: 5.2.3
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
 
6
  Requires at least: 5.0
7
  Requires PHP: 7.2
8
  Tested up to: 5.8.1
9
+ Stable tag: 5.2.4
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
 
src/core/views/admin/tabs/general.php CHANGED
@@ -8,7 +8,6 @@
8
  $enable = $get('enable');
9
  $excludeCategories = $get('exclude_categories');
10
  $locations = $get('locations');
11
- $manualControl = $get('manual_control');
12
  $strategies = $get('strategies');
13
 
14
  $postTypes = [
@@ -84,26 +83,6 @@
84
  </td>
85
  </tr>
86
 
87
- <!-- Manual Control -->
88
- <!-- <tr>
89
- <th scope="row" valign="top">
90
- <?php echo esc_html_x('Manual Control', 'Label', 'kk-star-ratings'); ?>
91
- </th>
92
- <td>
93
- <?php foreach ($postTypes as $type => $label) { ?>
94
- <p>
95
- <label>
96
- <input type="checkbox" name="<?php echo esc_attr($manualControl[0]); ?>[]" value="<?php echo esc_attr($type); ?>"<?php echo (in_array($type, $manualControl[1])) ? ' checked="checked"' : ''; ?>>
97
- <?php echo esc_html($label); ?>
98
- </label>
99
- </p>
100
- <?php } ?>
101
- <p class="description" style="max-width: 22rem; margin-top: .75rem;">
102
- <?php echo sprintf(esc_html__('Select the post types that should not auto embed the markup and will be manually controlled by the theme. E.g. Using %s in your theme/template file(s).', 'kk-star-ratings'), '<code>echo kk_star_ratings();</code>'); ?>
103
- </p>
104
- </td>
105
- </tr> -->
106
-
107
  <!-- Locations -->
108
  <tr>
109
  <th scope="row" valign="top">
8
  $enable = $get('enable');
9
  $excludeCategories = $get('exclude_categories');
10
  $locations = $get('locations');
 
11
  $strategies = $get('strategies');
12
 
13
  $postTypes = [
83
  </td>
84
  </tr>
85
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
86
  <!-- Locations -->
87
  <tr>
88
  <th scope="row" valign="top">