From 9dfb0af9e9fd290e5c96f7d967287882d3ffc95a Mon Sep 17 00:00:00 2001 From: Hoang Huu Date: Wed, 27 May 2020 09:49:46 +0700 Subject: [PATCH] Fixes --- changelog.txt | 3 +++ inc/class-opalestate-enqueue.php | 4 ++-- opal-estate-pro.php | 6 +++--- readme.txt | 5 ++++- 4 files changed, 12 insertions(+), 6 deletions(-) diff --git a/changelog.txt b/changelog.txt index d2c7de65..83e0f392 100755 --- a/changelog.txt +++ b/changelog.txt @@ -1,3 +1,6 @@ += 1.4.9.4 - 2020-05-27 = +* Fixes - Minor bugs. + = 1.4.9.3 - 2020-05-25 = * Fixes - Swiper responsive. diff --git a/inc/class-opalestate-enqueue.php b/inc/class-opalestate-enqueue.php index 6f3529ab..de0cb95b 100755 --- a/inc/class-opalestate-enqueue.php +++ b/inc/class-opalestate-enqueue.php @@ -144,8 +144,8 @@ class OpalEstate_Enqueue { true ); - if ( ! defined( "ELEMENTOR_VERSION" ) ) { - wp_enqueue_style( 'jquery-swiper', OPALESTATE_PLUGIN_URL . '/assets/3rd/swiper/css/swiper.min.css' ); + if ( ! defined( "ELEMENTOR_VERSION" ) || is_single_property() ) { + wp_enqueue_style( 'jquery-swiper', OPALESTATE_PLUGIN_URL . '/assets/3rd/swiper/css/swiper.min.css', [], '4.5.0' ); } wp_enqueue_script( 'jquery-swiper' ); diff --git a/opal-estate-pro.php b/opal-estate-pro.php index 98fec39e..ceff2158 100755 --- a/opal-estate-pro.php +++ b/opal-estate-pro.php @@ -3,7 +3,7 @@ * Plugin Name: Opal Estate Pro * Plugin URI: https://wpdocs.gitbook.io/opal-estate/ * Description: Opal Real Estate Plugin is an ideal solution and brilliant choice for you to set up a professional estate website. - * Version: 1.4.9.3 + * Version: 1.4.9.4 * Author: WPOPAL * Author URI: http://www.wpopal.com * Requires at least: 4.9 @@ -150,7 +150,7 @@ if ( ! class_exists( 'OpalEstate' ) ) { */ public function __clone() { // Cloning instances of the class is forbidden - _doing_it_wrong( __FUNCTION__, esc_html__( 'Cheatin’ huh?', 'opalestate-pro' ), '1.4.9.3' ); + _doing_it_wrong( __FUNCTION__, esc_html__( 'Cheatin’ huh?', 'opalestate-pro' ), '1.4.9.4' ); } /** @@ -159,7 +159,7 @@ if ( ! class_exists( 'OpalEstate' ) ) { public function setup_constants() { // Plugin version if ( ! defined( 'OPALESTATE_VERSION' ) ) { - define( 'OPALESTATE_VERSION', '1.4.9.3' ); + define( 'OPALESTATE_VERSION', '1.4.9.4' ); } // Plugin Folder Path diff --git a/readme.txt b/readme.txt index 7f82f85f..2b820611 100755 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Donate link: https://wpdocs.gitbook.io/opal-estate/ Tags: estate, property, opalestate, house for rent, agency for lease, estate submission, agents estate property, property marketplace Requires at least: 4.9 Tested up to: 5.3.2 -Stable tag: 1.4.9.1 +Stable tag: 1.4.9.4 License: GPLv3 License URI: http://www.gnu.org/licenses/gpl-3.0.html @@ -152,6 +152,9 @@ This section describes how to install the plugin and get it working. * System tickets support 24/7 available : [free support](https://themelexus.ticksy.com/ "Visit the Plugin support Page") == Changelog == += 1.4.9.4 - 2020-05-27 = +* Fixes - Minor bugs. + = 1.4.9.3 - 2020-05-25 = * Fixes - Swiper responsive.