mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-15 12:43:33 +09:00
* fixed #1516;
This commit is contained in:
@@ -1264,7 +1264,7 @@ if ( ! class_exists( 'um\core\Access' ) ) {
|
||||
return $block_content;
|
||||
}
|
||||
|
||||
$default_message = UM()->options()->get( 'restricted_block_message' );
|
||||
$default_message = wp_kses_post( UM()->options()->get( 'restricted_block_message' ) );
|
||||
switch ( $block['attrs']['um_who_access'] ) {
|
||||
case '1': {
|
||||
if ( ! is_user_logged_in() ) {
|
||||
|
||||
Reference in New Issue
Block a user