mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
- fixed PHP notice for $cached_user variable;
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
<?php
|
||||
namespace um\core;
|
||||
|
||||
// Exit if accessed directly
|
||||
if ( ! defined( 'ABSPATH' ) ) exit;
|
||||
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
exit;
|
||||
}
|
||||
|
||||
if ( ! class_exists( 'um\core\User' ) ) {
|
||||
|
||||
@@ -80,6 +80,11 @@ if ( ! class_exists( 'um\core\User' ) ) {
|
||||
|
||||
public $updating_process = false;
|
||||
|
||||
/**
|
||||
* @var array
|
||||
*/
|
||||
public $cached_user = array();
|
||||
|
||||
/**
|
||||
* User constructor.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user