diff --git a/changelog.txt b/changelog.txt index 118d965e..bb1fcfc4 100755 --- a/changelog.txt +++ b/changelog.txt @@ -1,2 +1,6 @@ += 1.0.4 - 2019-09-20 = +* Fixes: Property setings. +* Added: Search form: Collapse advanced. + = 1.0.0 - 2019-09-03 = * Release. diff --git a/opal-estate-pro.php b/opal-estate-pro.php index 17737ba8..5933de7b 100755 --- a/opal-estate-pro.php +++ b/opal-estate-pro.php @@ -3,11 +3,11 @@ * Plugin Name: Opal Estate Pro * Plugin URI: http://www.wpopal.com/product/opal-estate-wordpress-plugin/ * Description: Opal Real Estate Plugin is an ideal solution and brilliant choice for you to set up a professional estate website. - * Version: 1.0.3 + * Version: 1.0.4 * Author: WPOPAL * Author URI: http://www.wpopal.com * Requires at least: 4.6 - * Tested up to: 5.1.1 + * Tested up to: 5.2.3 * Text Domain: opalestate-pro * Domain Path: languages/ * @@ -140,22 +140,6 @@ if ( ! class_exists( 'OpalEstate' ) ) { return self::$instance; } - public static function load_google_map_api( $key ) { - if ( opalestate_options( 'google_map_api_keys' ) ) { - $key = '//maps.googleapis.com/maps/api/js?sensor=false&libraries=places&key=' . opalestate_options( 'google_map_api_keys' ); - } - - return $key; - } - - public function init_cli() { - $this->includes( - [ - 'cli/export.php', - ] - ); - } - /** * Throw error on object clone * @@ -167,7 +151,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.0.1' ); + _doing_it_wrong( __FUNCTION__, esc_html__( 'Cheatin’ huh?', 'opalestate-pro' ), '1.0.4' ); } /** @@ -176,7 +160,7 @@ if ( ! class_exists( 'OpalEstate' ) ) { public function setup_constants() { // Plugin version if ( ! defined( 'OPALESTATE_VERSION' ) ) { - define( 'OPALESTATE_VERSION', '1.0.3' ); + define( 'OPALESTATE_VERSION', '1.0.4' ); } // Plugin Folder Path @@ -213,6 +197,21 @@ if ( ! class_exists( 'OpalEstate' ) ) { define( 'OPALESTATE_AGENCY_PREFIX', 'opalestate_ofe_' ); } + public static function load_google_map_api( $key ) { + if ( opalestate_options( 'google_map_api_keys' ) ) { + $key = '//maps.googleapis.com/maps/api/js?sensor=false&libraries=places&key=' . opalestate_options( 'google_map_api_keys' ); + } + + return $key; + } + + public function init_cli() { + $this->includes( + [ + 'cli/export.php', + ] + ); + } public function setup() { global $opalestate_options; diff --git a/readme.txt b/readme.txt index 7899d813..a7f9c920 100755 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Donate link: http://www.wpopal.com/product/opal-estate-wordpress-plugin/ Tags: estate, property, opalestate, house for rent, agency for lease, estate submission, agents estate property Requires at least: 4.6 Tested up to: 5.2.3 -Stable tag: 1.0.3 +Stable tag: 1.0.4 License: GPLv3 License URI: http://www.gnu.org/licenses/gpl-3.0.html