mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-11 18:56:10 +09:00
- fixed banned profile;
This commit is contained in:
@@ -118,7 +118,7 @@ if ( ! class_exists( 'um\common\Secure' ) ) {
|
||||
array(
|
||||
'admin' => true,
|
||||
'tags' => array(
|
||||
'banned_profile_links',
|
||||
'{banned_profile_links}',
|
||||
),
|
||||
'tags_replace' => array(
|
||||
$banned_profile_links,
|
||||
|
||||
@@ -199,7 +199,7 @@ if ( ! class_exists( 'um\frontend\Secure' ) ) {
|
||||
$arr_banned_caps = array();
|
||||
|
||||
if ( UM()->options()->get( 'banned_capabilities' ) ) {
|
||||
$arr_banned_caps = array_keys( UM()->options()->get( 'banned_capabilities' ) );
|
||||
$arr_banned_caps = UM()->options()->get( 'banned_capabilities' );
|
||||
}
|
||||
|
||||
// Add locked administrative capabilities.
|
||||
|
||||
Reference in New Issue
Block a user