Skip to content

2.2.0

Latest

Choose a tag to compare

@krugazul krugazul released this 30 Jul 12:28
Immutable release. Only release title and notes can be modified.
a0d0a66

This release introduces comprehensive block support for the Reviews post type, including new meta blocks, block variations for connecting reviews to core Tour Operator post types, a review card pattern, and updated block-based templates for archive and single review pages.

Added

  • New LSX_TO_Reviews_Blocks class for centralised block/pattern registration.
  • Meta blocks (date-of-visit, rating, reviewer-name, tagline, gallery, no-adults, no-children); connection blocks (accommodation-to-review, destination-to-review, team-to-review, tour-to-review); related-review query blocks; featured-review block; review card pattern.
  • Breadcrumbs (yoast-seo/breadcrumbs) and a hero/cover section on templates/single-review.html.

Updated

  • single-review.html rebuilt with new meta/connection blocks; sticky menu restyled; section padding unified; breadcrumbs refined; standalone "Reviewer:" block removed.
  • archive-review.html updated to use the review card pattern; card post title is now a link.
  • Plugin version bumped to 2.2.0; README.txt "Tested up to" bumped to WordPress 7.0.

Fixed

  • Review schema output corrected: merged duplicate itemReviewed keys, cast ratingValue to int, fixed bestRating/worstRating, corrected @id, removed reviewer email from schema, mapped reviewSection → about, ISO 8601 date-of-visit intervals, correct destination/tour/accommodation @types, added root url.

Security

  • Added ABSPATH guards across classes, config includes, template tags, and the review-card pattern.
  • Removed an unnecessary load_plugin_textdomain action; renamed a metabox variable for clarity.
  • Addressed Plugin Check and WPCS issues flagged for the plugin (LS-1952).

Full changelog: changelog.md