Skip to content

Commit 779679b

Browse files
committed
Update version to 2.1, enhance changelog, and improve README details
1 parent 941e144 commit 779679b

File tree

4 files changed

+40
-7
lines changed

4 files changed

+40
-7
lines changed

README.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ Contributors: feedmymedia, lightspeedwp, eleshar, krugazul
33
Donate link: https://lightspeedwp.agency/donate/
44
Tags: lsx, tour operator, specials, accommodation, prices
55
Requires at least: 6.7
6-
Tested up to: 6.8
6+
Tested up to: 6.9
77
Requires PHP: 8.0
8-
Stable tag: 2.0.0
8+
Stable tag: 2.1
99
License: GPLv3
1010

1111
With Tour Operator Specials, add deals to your website – a great way to entice people who are ready to take advantage of limited-time deals.

changelog.md

Lines changed: 35 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,42 @@
11
# Change log
22

3-
## [[2.0.1]](https://github.com/lightspeeddevelopment/to-reviews/releases/tag/2.0.1) - WIP
3+
## [[2.1]](https://github.com/lightspeeddevelopment/to-specials/releases/tag/2.1) - 2025-01-13
4+
5+
### Description
6+
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.
7+
8+
### Added
9+
- New `LSX_TO_Specials_Templates` class for proper block template registration
10+
- Block editor templates: `templates/archive-special.html` and `templates/single-special.html`
11+
- Post field support for enhanced content management
412

513
### Updated
6-
- Fixing the post type labels.
14+
- Special metabox configurations for better CMB2 integration
15+
- Field titles and descriptions for improved user guidance
16+
- Post type labels for better clarity
17+
- Plugin assets converted to PNG format (banners and icons)
18+
- Language files (.po, .pot) with new strings and improved formatting
19+
- Plugin version to 2.1 across all files
20+
21+
### Fixed
22+
- Post type slug for single special offer template (changed from 'tour' to 'special')
23+
- Travel dates field naming for consistency
24+
- Template registration logic for block editor compatibility
25+
26+
### Removed
27+
- Legacy `class-template-redirects.php` (189 lines removed)
28+
- Unused `gulpfile.js` (51 lines removed)
29+
- Obsolete template selection logic
30+
31+
### Changed
32+
- Improved class structure and organization
33+
- Simplified template loading system
34+
- Enhanced field structure in metabox configurations
35+
36+
### Security
37+
- Tested with WordPress 6.9
38+
- Tested with PHP 8.0+
39+
- Code quality improvements for better security
740

841
## [[2.0.0]](https://github.com/lightspeeddevelopment/to-reviews/releases/tag/2.0.0) - 2025-05-09
942

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "to-specials",
3-
"version": "2.0.1",
3+
"version": "2.1.0",
44
"description": "Tour Operators add-on for LSX",
55
"main": "gulpfile.js",
66
"scripts": {

to-specials.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Plugin Name: Tour Operator Special Offers
44
* Plugin URI: https://touroperator.solutions/plugins/specials/
55
* Description: The Tour Operator Special Offers extension gives you the ability to create time-sensitive special prices that can be applied to Tour Operator post types you are using: Accommodations, destinations and/or tours.
6-
* Version: 2.0.1
6+
* Version: 2.1
77
* Author: LightSpeed
88
* Author URI: https://lightspeedwp.agency/
99
* License: GPL3+
@@ -20,7 +20,7 @@
2020
define('LSX_TO_SPECIALS_PATH', plugin_dir_path( __FILE__ ) );
2121
define('LSX_TO_SPECIALS_CORE', __FILE__ );
2222
define('LSX_TO_SPECIALS_URL', plugin_dir_url( __FILE__ ) );
23-
define('LSX_TO_SPECIALS_VER', '2.0.1' );
23+
define('LSX_TO_SPECIALS_VER', '2.1.0' );
2424

2525

2626
/* ======================= Below is the Plugin Class init ========================= */

0 commit comments

Comments
 (0)