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.
- Race condition during votes has been fixed.
- Only published posts can be rated.
- Bump Freemius SDK.
- Bump Freemius SDK.
- Lookup IP addresses in alternative headers only when admin/user explicitly allows this as a strategy. Previously this was implicity done without the consent of the admin/user.
- Bumped WordPress to v6.2.
- Bumped freemius to v2.5.6.
kk_star_ratings()
helper function has been fixed.
- Allow for
starsonly
parameter in shortcode.
- Allow for
legendonly
parameter in shortcode.
- Bumped freemius to v2.5.1.
- Log IP (fingerprint) only when unique votes is enabled.
- Get the correct post title when a custom post ID is being used.
- Custom blocks support.
- Text domain path was incorrect in
load_plugin_textdomain
. - Use single quotes in payload html attribute (#124).
- Unnecessary duplicate queries during post hydration has been fixed.
- Shortcode was being auto-embedded in excerpts. Not the case anymore.
- Added ability to ignore shortcode using the
ignore
property.
- Bumped WordPress version (6.0.1).
- Backwards compatibility of
kksr_rate
andkksr_vote
action hook. - Refactored the way fingerprint (IP Address) is calculated.
- View templates now respect a view slug.
- Shortcode now accepts a custom class attribute.
- Touched CSS styles.
- Introduced the concept of addons.
- The plugin
init
action is now called as soon as the plugin is loaded instead of theplugins_loaded
WordPress action. - Bumped WordPress version (6.0).
- Typo in
upgrader_process_complete
hook was fixed.
- The text domain files in the languages directory were not being loaded. (Fixes issue #120).
- Bumped freemius SDK version to v2.4.3.
- Tested upto v5.9.1.
- Security fix.
- The priority for
the_content
filter has been set back to 10 to avoid issues with elementor.
- Checks for
get_the_ID()
before falling back to query vars.
- jQuery is no more required.
- Support for custom rich snippets (ld_json) with binding.
- Support for Gutenberg blocks using hooks.
- Url and path utility functions.
- The prefix function logic has been corrected.
- Removed unwanted html markup that caused errors.
- Removed whitespaces in ajax responses when a vote is casted to fix refresh issues.
- Option value for a stack may be corrupted which is now ignored.
- Not enough arguments error that occured sometimes during
the_post
action hook has been fixed by marking the second argument as optional.
- Unique voting issue due to previous changes is now fixed.
- Deprecated the use of migrations in favor of migrating posts when accessed.
- Migrate 5 posts instead of 20 per batch.
- Migrations for the same version were duplicated.
- Migrate 20 posts instead of 50 per batch.
- Migrations were not being processed continuously due to a javascript bug.
- Migrations now correctly run in the background when the frontend is open.
- More detailed information is now displayed in
pending migrations
notice.
- Batched migrations. Posts are now migrated in batches in the background.
- Bumped template code priority.
- Freemius sdk upgraded to 2.4.2
- Enforce casting of post id to int when calculating for meta box.
- Disallowed check for regex expression when using find() in order to supress warning in PHP 8.
- Force legend to the default in order to override dangling v2 legend.
- Activation would not be executed when upgrading via wp org. Fixed by activating after plugin is loaded.
- Fresh codebase