Skip to content

Commit

Permalink
Preparing plugin for version 1.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
viscosho committed Mar 24, 2020
1 parent 18b27ce commit 6bb54de
Show file tree
Hide file tree
Showing 5 changed files with 111 additions and 58 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<h1 align="center">Tour Operator Reviews</h1>

<p align="center">
<a href="https://www.gnu.org/licenses/gpl-3.0.en.html"><img src="https://poser.pugx.org/woocommerce/woocommerce/license" alt="license"></a>
<a href="http://gulpjs.com/"><img src="https://img.shields.io/badge/built%20with-gulp.js-green.svg" alt="Built with gulp.js"></a>
<a href="https://travis-ci.org/lightspeeddevelopment/to-reviews"><img src="https://travis-ci.org/lightspeeddevelopment/to-reviews.svg?branch=master" alt="Build Status"></a>
<a href="https://tour-operator.lsdev.biz/"><img src="https://lsx.lsdev.biz/wp-content/uploads/2019/06/Designed-for-Tour-Operator-plugin-1098ad.png" alt="Tour Operator"></a>
Expand Down
4 changes: 2 additions & 2 deletions README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ Contributors: feedmymedia
Donate link: https://donate.lsdev.biz/
Tags: tour operator, lsx, reviews, ratings, accommodation, tours, destinations
Requires at least: 5.1.1
Tested up to: 5.3.2
Tested up to: 5.4
Requires PHP: 7.0
Stable tag: 1.2.1
Stable tag: 1.2.2
License: GPLv3

Welcome to the [Tour Operator Reviews extension](https://tour-operator.lsdev.biz/extensions/reviews/).
Expand Down
151 changes: 101 additions & 50 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,50 +1,101 @@
## Change log

## 1.2.1 - 19 December 2019
* 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.
* Dev - If the review does not have an excerpt it will show trimmed content on the Reviews widget.

### 1.2.0 - September 27 2019
* Dev - Added in the Review Schema integrated with Yoast WordPress SEO
* Dev - Adding the .gitattributes file to remove unnecessary files from the WordPress version.
* Dev - Enabled the sorting of the gallery field
* Fix - Updating files and fixing php warning notices.

### 1.1.1
* Fix - Travis and dependency fixes
* Dev - API Class Removal
* Dev - No sidebars on single or archive

### 1.1.0
* Dev - Support LSX Theme 2.0 new designs
* Added compatibility with LSX 2.0
* Added compatibility with Tour Operator 1.1
* Dev - New project structure
* Fix - Fixed scripts/styles loading order
* Fix - Fixed small issues
* Dev - Updated the the way the post type registers to match the refactored TO plugin
* Dev - Updated the registering of the metaboxes

### 1.0.4
* Dev - Standardized the Gallery and Video fields

### 1.0.3
* Fix - Make the addon compatible with the latest version from TO Search addon
* Fix - API key and email grabbed from the correct settings tab
* Fix - Added TO Search as subtab on LSX TO settings page
* Dev - Fixed menu navigation improved
* Fix - Code refactored to follow the latest Tour Operator plugin workflow
* Fix - Small fixes on front-end fields
* Fix - Fixed content_part filter for plugin and add-ons

### 1.0.2
* Fix - Fixed all prefixes replaces (to_ > lsx_to_, TO_ > LSX_TO_)

### 1.0.1
* Fix - Reduced the access to server (check API key status) using transients
* Fix - Made the API URLs dev/live dynamic using a prefix "dev-" in the API KEY

### 1.0.0
* First Version
# Change log


## [Unreleased] - Minor version 1.2.2

### Fixed
- Fixed PHP error `Undefined variable: connected_destination`.

### Security
- General testing to ensure compatibility with latest WordPress version (5.4).
- General testing to ensure compatibility with latest LSX Theme version (2.7).


## [[1.2.1]](https://github.com/lightspeeddevelopment/to-reviews/releases/tag/1.2.1) - 2019-12-19

### Added
- Enabled the sorting of the gallery field.

### Security
- Checking compatibility with LSX 2.6 release.
- General testing to ensure compatibility with latest WordPress version (5.3).

### Fixed
- If the review does not have an excerpt it will show trimmed content on the Reviews widget.


## [[1.2.0]](https://github.com/lightspeeddevelopment/to-reviews/releases/tag/1.2.0) - 2019-09-27

### Added
- Added in the Review Schema integrated with Yoast WordPress SEO.
- Adding the .gitattributes file to remove unnecessary files from the WordPress version.
- Enabled the sorting of the gallery field.

### Fixed
- Updating files and fixing php warning notices.


## [[1.1.1]](https://github.com/lightspeeddevelopment/to-reviews/releases/tag/1.1.1) - 2019-06-21

### Added
- No sidebars on single or archive.

### Deprecated
- API Class Removal.

### Fixed
- Travis and dependency fixes.


## [[1.1.0]]()

### Added
- Support LSX Theme 2.0 new designs.
- Added compatibility with LSX 2.0.
- Added compatibility with Tour Operator 1.1.
- New project structure.
- Updated the the way the post type registers to match the refactored TO plugin.
- Updated the registering of the metaboxes.

### Fixed
- Fixed scripts/styles loading order.
- Fixed small issues.


## [[1.0.4]]()

### Added
- Standardized the Gallery and Video fields.


## [[1.0.3]]()

### Added
- Fixed menu navigation improved.

### Fixed
- Make the addon compatible with the latest version from TO Search addon.
- API key and email grabbed from the correct settings tab.
- Added TO Search as subtab on LSX TO settings page.
- Code refactored to follow the latest Tour Operator plugin workflow.
- Small fixes on front-end fields.
- Fixed content_part filter for plugin and add-ons.


## [[1.0.2]]()

### Fixed
- Fixed all prefixes replaces (to_ > lsx_to_, TO_ > LSX_TO_).


## [[1.0.1]]()

### Fixed
- Reduced the access to server (check API key status) using transients.
- Made the API URLs dev/live dynamic using a prefix "dev-" in the API KEY.


## [[1.0.0]]()

### Fixed
- First Version
1 change: 1 addition & 0 deletions classes/class-to-reviews-frontend.php
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ public function get_related_tours_link() {
* Tests for the Related Destinations and returns a link for the section
*/
public function get_related_destinations_link() {
$connected_destination = '';
$connected_destinations = get_post_meta( get_the_ID(), 'destination_to_review', false );

if ( post_type_exists( 'destination' ) && is_array( $connected_destinations ) && ! empty( $connected_destinations ) ) {
Expand Down
12 changes: 6 additions & 6 deletions to-reviews.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: Tour Operator Reviews
* Plugin URI: https://www.lsdev.biz/product/tour-operator-reviews/
* Description: The Tour Operator Reviews extension adds the “Reviews” post type, which you can assign to our Tour Operator core post types: Tours, accommodations and destinations.
* Version: 1.2.1
* Version: 1.2.2
* Author: LightSpeed
* Author URI: https://www.lsdev.biz/
* License: GPL3+
Expand All @@ -17,11 +17,11 @@
die;
}

define('LSX_TO_REVIEWS_PATH', plugin_dir_path( __FILE__ ) );
define('LSX_TO_REVIEWS_CORE', __FILE__ );
define('LSX_TO_REVIEWS_URL', plugin_dir_url( __FILE__ ) );
define('LSX_TO_REVIEWS_VER', '1.2.1' );
define( 'LSX_TO_REVIEWS_PATH', plugin_dir_path( __FILE__ ) );
define( 'LSX_TO_REVIEWS_CORE', __FILE__ );
define( 'LSX_TO_REVIEWS_URL', plugin_dir_url( __FILE__ ) );
define( 'LSX_TO_REVIEWS_VER', '1.2.2' );

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

require_once( LSX_TO_REVIEWS_PATH . '/classes/class-to-reviews.php' );
require_once LSX_TO_REVIEWS_PATH . '/classes/class-to-reviews.php';

0 comments on commit 6bb54de

Please sign in to comment.