Tag 1.0.4

This commit is contained in:
Hoang Huu 2019-09-20 09:12:54 +07:00
parent d05b4b8aae
commit 7c6483d4da
3 changed files with 24 additions and 21 deletions

View File

@ -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.

View File

@ -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;

View File

@ -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