Repository navigation
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_Blocksclass 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-reviewblock; review card pattern. - Breadcrumbs (
yoast-seo/breadcrumbs) and a hero/cover section ontemplates/single-review.html.
Updated
single-review.htmlrebuilt with new meta/connection blocks; sticky menu restyled; section padding unified; breadcrumbs refined; standalone "Reviewer:" block removed.archive-review.htmlupdated 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
Reviewschema output corrected: merged duplicateitemReviewedkeys, castratingValueto int, fixedbestRating/worstRating, corrected@id, removed revieweremailfrom schema, mappedreviewSection→about, ISO 8601 date-of-visit intervals, correct destination/tour/accommodation@types, added rooturl.
Security
- Added
ABSPATHguards across classes, config includes, template tags, and the review-card pattern. - Removed an unnecessary
load_plugin_textdomainaction; renamed a metabox variable for clarity. - Addressed Plugin Check and WPCS issues flagged for the plugin (LS-1952).
Full changelog: changelog.md