mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-11 18:56:10 +09:00
- fixed content restriction feature;
This commit is contained in:
@@ -106,7 +106,7 @@ if ( ! class_exists( 'Access' ) ) {
|
||||
}
|
||||
}
|
||||
|
||||
if ( ! isset( $restriction ) )
|
||||
if ( ! isset( $restriction ) || empty( $restriction['_um_custom_access_settings'] ) )
|
||||
return;
|
||||
|
||||
//post is private
|
||||
|
||||
Reference in New Issue
Block a user