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 455d1bb commit 6e06eb1
Show file tree
Hide file tree
Showing 5 changed files with 104 additions and 63 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<h1 align="center">Tour Operator Team</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="https://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-team"><img src="https://travis-ci.org/lightspeeddevelopment/to-team.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
146 changes: 93 additions & 53 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,56 +1,96 @@
## Change log
# Change log

### 1.2.2

## [Unreleased] - Minor version 1.2.2

### Fixed
* Fix - Fixing the options for the Team widget, making sure all of them work, also on shortcode mode.

### 1.2.1 - 19 December 2019
* Fix - Changing the map priority on the single team pages.
* Dev - Changing a variable name $ID to $id.
* 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.

### 1.2.0 - September 27 2019
* Dev - Adding the .gitattributes file to remove unnecessary files from the WordPress version.
* Dev - Adding the Posts slider to the single team.
* Dev - Adding the map option for single team.
* Dev - Adding width and height to the map.
* Dev - Adding map filters.
* Dev - Added in a 'Person' Schema via the Yoast WordPress SEO plugin.

### 1.1.1
* Dev - Removed API Call Error

### 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
* Fix - Replaced 'global $tour_operators' by 'global $tour_operator'
* 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
* Dev - Added in an option to disable the team member panel if you just want an archive.

### 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
### 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-team/releases/tag/1.2.1) - 2019-12-19

### Added
- Changing a variable name $ID to $id.
- Enabled the sorting of the gallery field.
- General testing to ensure compatibility with latest WordPress version (5.3).
- Checking compatibility with LSX 2.6 release.

### Fixed
- Changing the map priority on the single team pages.


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

### Added
- Adding the .gitattributes file to remove unnecessary files from the WordPress version.
- Adding the Posts slider to the single team.
- Adding the map option for single team.
- Adding width and height to the map.
- Adding map filters.
- Added in a 'Person' Schema via the Yoast WordPress SEO plugin.


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

### Fixed
- Removed API Call Error.


## [[1.1.0]](https://github.com/lightspeeddevelopment/to-team/releases/tag/1.1.0) - 2017-10-10

### Added
- Added compatibility with LSX 2.0.
- Added compatibility with Tour Operator 1.1.
- Support LSX Theme 2.0 new designs.
- 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.
- Replaced 'global $tour_operators' by 'global $tour_operator'.


## [[1.0.4]]()

### Added
- Standardized the Gallery and Video fields.
- Added in an option to disable the team member panel if you just want an archive.


## [[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]]()

### Added
* First Version.
10 changes: 5 additions & 5 deletions includes/template-tags.php
Original file line number Diff line number Diff line change
Expand Up @@ -368,12 +368,12 @@ function lsx_to_team_destination() {

if ( post_type_exists( 'destination' ) && is_singular( 'team' ) ) {
$args = array(
'from' => 'destination',
'to' => 'team',
'column' => '3',
'from' => 'destination',
'to' => 'team',
'column' => '3',
// @codingStandardsIgnoreLine
'before' => '<section id="destination" class="lsx-to-section lsx-to-collapse-section"><h2 class="lsx-to-section-title lsx-to-collapse-title lsx-title" data-toggle="collapse" data-target="#collapse-destination">' . __( lsx_to_get_post_type_section_title( 'destination', '', 'Featured Destinations' ), 'to-team' ) . '</h2><div id="collapse-destination" class="collapse in"><div class="collapse-inner">',
'after' => '</div></div></section>',
'before' => '<section id="destination" class="lsx-to-section lsx-to-collapse-section"><h2 class="lsx-to-section-title lsx-to-collapse-title lsx-title" data-toggle="collapse" data-target="#collapse-destination">' . __( lsx_to_get_post_type_section_title( 'destination', '', 'Featured Destinations' ), 'to-team' ) . '</h2><div id="collapse-destination" class="collapse in"><div class="collapse-inner">',
'after' => '</div></div></section>',
);

lsx_to_connected_panel_query( $args );
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, post type, team widget, team display
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

The TO Team plugins adds the “Team” post type, which you can display front-and-centre on your site.
Expand Down
6 changes: 3 additions & 3 deletions to-team.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: Tour Operator Team
* Plugin URI: https://www.lsdev.biz/product/tour-operator-team/
* Description: Real peoples' faces go a long way to building trust with your clients. The Team Extension allows your business's staff to be added as Team Members with their own profile which can be associated with specific destinations and tours.
* Version: 1.2.1
* Version: 1.2.2
* Author: LightSpeed
* Author URI: https://www.lsdev.biz/
* License: GPL3+
Expand All @@ -20,12 +20,12 @@
define( 'LSX_TO_TEAM_PATH', plugin_dir_path( __FILE__ ) );
define( 'LSX_TO_TEAM_CORE', __FILE__ );
define( 'LSX_TO_TEAM_URL', plugin_dir_url( __FILE__ ) );
define( 'LSX_TO_TEAM_VER', '1.2.1' );
define( 'LSX_TO_TEAM_VER', '1.2.2' );

if ( ! defined( 'TEAM_ARCHIVE_URL' ) ) {
define( 'TEAM_ARCHIVE_URL', 'team-members' );
}

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

require_once( LSX_TO_TEAM_PATH . '/classes/class-lsx-to-team.php' );
require_once LSX_TO_TEAM_PATH . '/classes/class-lsx-to-team.php';

0 comments on commit 6e06eb1

Please sign in to comment.