Solid Post Likes changelog
By oacstudio, on WordPress.org since 2021. 500+ active installs.
6 tagged releases, newest first. Dates are when each release was tagged in SVN. Notes come from the plugin's readme, which may not list every release.
-
- Fix: PHP 8.2+ wrote the deprecation notice “Creation of dynamic property SolidPostLikesLoader::$shortcodes” to debug.log on every request. The property is declared now.
-
- New: category attribute on [oacsspltop] — category=news lists only the most-liked posts of that category (slug or name, several separated by commas, child categories included). Works for the all-time list and for days=.
-
- New: display attribute on [oacsspltop] — display=image shows the featured image instead of the post title, display=both shows image and title. image_size picks the image size (default thumbnail). Posts without a featured image keep their title.
- Tested with WordPress 7.1.
-
- New: Like Button block for the block editor — works inside Query Loops, counter toggle in the sidebar.
- New: REST API — GET /wp-json/spl/v1/likes/<id> and POST /wp-json/spl/v1/likes/<id>/toggle (Application Passwords supported).
- New: trending — [oacsspltop days=7] ranks by likes recorded within the window.
- New: [oacsspllist user_id=123] — show a specific user’s liked posts.
- New: every like is stored as its own row in a dedicated table with a timestamp. Fixes likes lost under simultaneous clicks and removes the scaling ceiling of one serialized array per post. Existing likes migrate automatically per post on first view; legacy data is left untouched as a rollback safety net. Manually set counts are preserved.
- New: visitors are remembered via an anonymous browser cookie instead of only the anonymized IP — likes from shared and mobile networks no longer collide. Existing IP-based likes remain recognized.
And 1 more note.
-
- New: Enable Likes in Archives and Query Loops setting — buttons on archive pages, search results and custom query loops.
- New: Only Logged-in Users Can Like setting with optional custom login URL — visitors see the button and count, clicking sends them to the login page.
- New: Disable Unlike setting — one-way likes, prevents accidental unlikes.
- New: [oacsspltop] shortcode — list the most-liked posts (count, post_type, show_count attributes).
- New: counter=off attribute on [oacsspl] — hide the counter per instance.
- New: sortable “Likes” column on the admin post list of every enabled post type.
And 10 more notes.
-
- Fix: Shortcode like list outputted in header in some cases.
- Fix: Add none to post type setting to allow shortcode usage only.