This commit is contained in:
Hoang Huu 2020-06-22 13:30:12 +07:00
parent 4fe7aecb30
commit ab00de6716
5 changed files with 18 additions and 4 deletions

View File

@ -1,3 +1,7 @@
= 1.5.9 - 2020-06-22 =
* Added - Currency
* Fixes - Subscriber admin bar
= 1.5.8 - 2020-06-18 =
* Added - Single Preview Layout setting
* Added - Range setting for Radius search

View File

@ -660,6 +660,7 @@ function opalestate_get_currencies() {
'CHF' => esc_html__( 'Swiss franc', 'opalestate-pro' ),
'CLP' => esc_html__( 'Chilean peso', 'opalestate-pro' ),
'CNY' => esc_html__( 'Chinese yuan', 'opalestate-pro' ),
'UF' => esc_html__( 'Chilean Foment Unity', 'opalestate-pro' ),
'COP' => esc_html__( 'Colombian peso', 'opalestate-pro' ),
'CRC' => esc_html__( 'Costa Rican colón', 'opalestate-pro' ),
'CUC' => esc_html__( 'Cuban convertible peso', 'opalestate-pro' ),
@ -884,6 +885,7 @@ function opalestate_currency_symbol( $currency = '' ) {
'CHF' => 'CHF',
'CLP' => '$',
'CNY' => '¥',
'UF' => 'UF',
'COP' => '$',
'CRC' => '₡',
'CUC' => '$',

View File

@ -177,6 +177,10 @@ class OpalEstate_User {
if ( in_array( 'opalestate_agent', $roles ) || in_array( 'opalestate_agency', $roles ) ) {
return false;
}
if ( in_array( 'subscriber', $roles ) && opalestate_is_user_management_page() ) {
return false;
}
}
return $show_admin_bar;

View File

@ -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.5.8
* Version: 1.5.9
* Author: WPOPAL
* Author URI: http://www.wpopal.com
* Requires at least: 4.9
@ -154,7 +154,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.5.8' );
_doing_it_wrong( __FUNCTION__, esc_html__( 'Cheatin’ huh?', 'opalestate-pro' ), '1.5.9' );
}
/**
@ -163,7 +163,7 @@ if ( ! class_exists( 'OpalEstate' ) ) {
public function setup_constants() {
// Plugin version
if ( ! defined( 'OPALESTATE_VERSION' ) ) {
define( 'OPALESTATE_VERSION', '1.5.8' );
define( 'OPALESTATE_VERSION', '1.5.9' );
}
// Plugin Folder Path

View File

@ -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.5.8
Stable tag: 1.5.9
License: GPLv3
License URI: http://www.gnu.org/licenses/gpl-3.0.html
@ -150,6 +150,10 @@ 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.5.9 - 2020-06-22 =
* Added - Currency
* Fixes - Subscriber admin bar
= 1.5.8 - 2020-06-18 =
* Added - Single Preview Layout setting
* Added - Range setting for Radius search