Changeset 3474555
- Timestamp:
- 03/04/2026 12:52:18 PM (3 weeks ago)
- Location:
- kk-star-ratings/trunk
- Files:
-
- 6 edited
-
changelog.txt (modified) (1 diff)
-
index.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
src/core/wp/actions/add_meta_boxes.php (modified) (1 diff)
-
src/core/wp/actions/wp_ajax_kk-star-ratings.php (modified) (1 diff)
-
src/functions/to_shortcode.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
kk-star-ratings/trunk/changelog.txt
r3410732 r3474555 1 == Changelog == 1 == Changelog == 2 3 = 5.4.10.4 = 4 * Improved rating payload validation. 5 * Fixed PHP error 2 6 3 7 = 5.4.10.3 = -
kk-star-ratings/trunk/index.php
r3410732 r3474555 11 11 * Text Domain: kk-star-ratings 12 12 * Domain Path: /languages 13 * Version: 5.4.10. 313 * Version: 5.4.10.4 14 14 * License: GPLv2 or later 15 15 */ -
kk-star-ratings/trunk/readme.txt
r3410732 r3474555 7 7 Requires PHP: 7.4 8 8 Tested up to: 6.9 9 Stable tag: 5.4.10. 39 Stable tag: 5.4.10.4 10 10 License: GPLv2 or later 11 11 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 96 96 == Changelog == 97 97 98 = 5.4.10.4 = 99 * Improved rating payload validation. 100 * Fixed PHP error 101 98 102 = 5.4.10.3 = 99 103 * Upgraded freemiums SDK -
kk-star-ratings/trunk/src/core/wp/actions/add_meta_boxes.php
r2982081 r3474555 25 25 $icon = $legend = ''; 26 26 27 if ($post ) {27 if ($post instanceof \WP_Post) { 28 28 $best = option('stars'); 29 29 [$count, $score] = calculate((int) $post->ID, 'default', $best); -
kk-star-ratings/trunk/src/core/wp/actions/wp_ajax_kk-star-ratings.php
r3222370 r3474555 83 83 84 84 $payload = array_map(function ($item) { 85 return str ip_shortcodes($item);85 return str_replace(['[', ']'], '', strip_shortcodes($item)); 86 86 }, $payload); 87 87 -
kk-star-ratings/trunk/src/functions/to_shortcode.php
r2982081 r3474555 23 23 24 24 $attrs = array_map(function ($key, $value) { 25 return "{$key}=\" {$value}\"";25 return "{$key}=\"" . esc_attr($value) . "\""; 26 26 }, array_keys($payload), array_values($payload)); 27 27
Note: See TracChangeset
for help on using the changeset viewer.