Fix login with Editor role

This commit is contained in:
Hoang Huu 2020-02-05 09:53:19 +07:00
parent e392e8d61a
commit dd9163a00f
4 changed files with 19 additions and 9 deletions

View File

@ -1,5 +1,8 @@
= 1.2.9.4 - 2020-02-05 =
* Fixes - Login with Edior role.
= 1.2.9.3 - 2020-01-31 = = 1.2.9.3 - 2020-01-31 =
* Fixes - Admin infomation fields. * Fixes - Admin information fields.
= 1.2.9.2 - 2020-01-30 = = 1.2.9.2 - 2020-01-30 =
* Fixes - Archive filter. * Fixes - Archive filter.

View File

@ -82,7 +82,9 @@ class Opalestate_Plugin_Settings {
'opalestate-settings', 'opalestate-settings',
[ $this, 'admin_page_display' ] ); [ $this, 'admin_page_display' ] );
do_action( 'load-' . $opalestate_settings_page, $this ); if ( $opalestate_settings_page ) {
do_action( 'load-' . $opalestate_settings_page, $this );
}
// Addons // Addons
$opalestate_addons_page = add_submenu_page( $opalestate_addons_page = add_submenu_page(
@ -93,7 +95,9 @@ class Opalestate_Plugin_Settings {
'opalestate-addons', 'opalestate-addons',
[ $this, 'admin_addons_page_display' ] ); [ $this, 'admin_addons_page_display' ] );
do_action( 'load-' . $opalestate_addons_page, $this ); if ( $opalestate_addons_page ) {
do_action( 'load-' . $opalestate_addons_page, $this );
}
} }
/** /**

View File

@ -3,7 +3,7 @@
* Plugin Name: Opal Estate Pro * Plugin Name: Opal Estate Pro
* Plugin URI: https://wpdocs.gitbook.io/opal-estate/ * 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. * Description: Opal Real Estate Plugin is an ideal solution and brilliant choice for you to set up a professional estate website.
* Version: 1.2.9.3 * Version: 1.2.9.4
* Author: WPOPAL * Author: WPOPAL
* Author URI: http://www.wpopal.com * Author URI: http://www.wpopal.com
* Requires at least: 4.9 * Requires at least: 4.9
@ -150,7 +150,7 @@ if ( ! class_exists( 'OpalEstate' ) ) {
*/ */
public function __clone() { public function __clone() {
// Cloning instances of the class is forbidden // Cloning instances of the class is forbidden
_doing_it_wrong( __FUNCTION__, esc_html__( 'Cheatin’ huh?', 'opalestate-pro' ), '1.2.9.3' ); _doing_it_wrong( __FUNCTION__, esc_html__( 'Cheatin’ huh?', 'opalestate-pro' ), '1.2.9.4' );
} }
/** /**
@ -159,7 +159,7 @@ if ( ! class_exists( 'OpalEstate' ) ) {
public function setup_constants() { public function setup_constants() {
// Plugin version // Plugin version
if ( ! defined( 'OPALESTATE_VERSION' ) ) { if ( ! defined( 'OPALESTATE_VERSION' ) ) {
define( 'OPALESTATE_VERSION', '1.2.9.3' ); define( 'OPALESTATE_VERSION', '1.2.9.4' );
} }
// Plugin Folder Path // Plugin Folder Path

View File

@ -1,10 +1,10 @@
=== Opal Estate Pro - Property Management and Submission === === Opal Estate Pro - Property Management and Submission ===
Contributors: wpopal Contributors: wpopal, ndoublehwp
Donate link: https://wpdocs.gitbook.io/opal-estate/ 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 Tags: estate, property, opalestate, house for rent, agency for lease, estate submission, agents estate property, property marketplace
Requires at least: 4.9 Requires at least: 4.9
Tested up to: 5.3.2 Tested up to: 5.3.2
Stable tag: 1.2.9.3 Stable tag: 1.2.9.4
License: GPLv3 License: GPLv3
License URI: http://www.gnu.org/licenses/gpl-3.0.html License URI: http://www.gnu.org/licenses/gpl-3.0.html
@ -156,8 +156,11 @@ This section describes how to install the plugin and get it working.
* System tickets support 24/7 available : [free support](https://wpopal.ticksy.com/ "Visit the Plugin support Page") * System tickets support 24/7 available : [free support](https://wpopal.ticksy.com/ "Visit the Plugin support Page")
== Changelog == == Changelog ==
= 1.2.9.4 - 2020-02-05 =
* Fixes - Login with Edior role.
= 1.2.9.3 - 2020-01-31 = = 1.2.9.3 - 2020-01-31 =
* Fixes - Admin infomation fields. * Fixes - Admin information fields.
= 1.2.9.2 - 2020-01-30 = = 1.2.9.2 - 2020-01-30 =
* Fixes - Archive filter. * Fixes - Archive filter.