Releases: lightspeedwp/to-specials
Releases · lightspeedwp/to-specials
2.1
Description
This release introduces significant improvements to the template system, enhanced custom field configurations, and better Tour Operator 2.0 compatibility for the Special Offers plugin.
Added
- New
LSX_TO_Specials_Templatesclass for proper block template registration - Block editor templates:
templates/archive-special.htmlandtemplates/single-special.html - Post field support for enhanced content management
Updated
- Special metabox configurations for better CMB2 integration
- Field titles and descriptions for improved user guidance
- Post type labels for better clarity
- Plugin assets converted to PNG format (banners and icons)
- Language files (.po, .pot) with new strings and improved formatting
- Plugin version to 2.1 across all files
Fixed
- Post type slug for single special offer template (changed from 'tour' to 'special')
- Travel dates field naming for consistency
- Template registration logic for block editor compatibility
Removed
- Legacy
class-template-redirects.php(189 lines removed) - Unused
gulpfile.js(51 lines removed) - Obsolete template selection logic
Changed
- Improved class structure and organization
- Simplified template loading system
- Enhanced field structure in metabox configurations
Security
- Tested with WordPress 6.9
- Tested with PHP 8.0+
- Code quality improvements for better security
2.0.0
Description
The following PR contains the code for the block updates and the removal of the legacy code.
Added
- WordPress block editor support
- Tour Operator 2.0 Support.
Updated
- Custom fields to CMB2 and its add-ons.
- WPCS warnings notices fixed.
Removed
- Old PHP Templates, function and legacy template code.
Security
- Tested with WordPress 6.8.1
What's Changed
- Bump wpackagist-plugin/tour-operator from 1.4.8 to 1.4.9 by @dependabot in #90
- Bump wp-coding-standards/wpcs from 2.3.0 to 3.0.0 by @dependabot in #91
- Bump wp-coding-standards/wpcs from 3.0.0 to 3.0.1 by @dependabot in #92
- Bump phpunit/phpunit from 8.5.33 to 8.5.34 by @dependabot in #93
- Bump styfle/cancel-workflow-action from 0.11.0 to 0.12.0 by @dependabot in #94
- Bump phpunit/phpunit from 8.5.34 to 8.5.36 by @dependabot in #95
- Bump actions/stale from 8 to 9 by @dependabot in #96
- Bump styfle/cancel-workflow-action from 0.12.0 to 0.12.1 by @dependabot in #97
- Bump gulp from 4.0.2 to 5.0.0 by @dependabot in #98
- 2.0.0 by @krugazul in #99
Full Changelog: 1.3.6...2.0.0
1.3.6
1.3.5
1.3.4
1.3.3
1.3.2
V 1.3.1
1.3.1
- Dev - Enabled the sorting of the gallery field.
- Dev - General testing to ensure compatibility with latest WordPress version (5.3).
- Dev - Checking compatibility with LSX 2.6 release.
V 1.3.0
1.3.0
- Dev - Added in the option to disable the view more button on the widget template
- Fix - Fix the double button on widget template.
- Dev - Adding the .gitattributes file to remove unnecessary files from the WordPress version.
- Dev - Added in the Offer Schema to the plugin, which integrates with Yoast WordPress SEO.