All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
-
Ability to use/show custom star ratings.
- Example PHP Code
add_action('kksr_init', 'my_custom_star_ratings'); function my_custom_star_ratings() { new kkStarRatings('foo'); }
- Example Shortcode
<!-- 'id' will default to the current post/page id --> [kkstarratings slug="foo" id=""]
- Fix calculation used in
kk_star_ratings_get
function.
- Update stability tag.
- Refactored form fields.
- Response payload fallback to defaults.
- Tested with WordPress 5.7.1
- Correctly load language files.
- Tested with WordPress 5.7
- Tested with WordPress 5.6
- Correctly escaped attribute.
- Sanitized and escaped all potential unsafe data.
- Escaped html attributes to avoid possible XSS exploits (Thanks to Toan Nguyen of Techlab Corporation).
- Tested upto WordPress 5.5.3
- Unique voting now correctly forbids multiple ratings by same IP. (GitHub PR #91).
- Options are now correctly synced when installing, upgrading and activating.
- Use absolute change log links in docs.
- Special characters are now escaped in the title of structured data.
- Factory/default options are now synced on activation.
- Customizable gap/gutter between stars.
- Structured data in pages.
- Svg icons
- Activation only ports the previous options if version was lower than 3.
- Relative star svg links instead of absolute links are now used in css.
- Stability