mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-13 19:56:27 +09:00
- fixed email notifications integration;
- fixed small notices;
This commit is contained in:
@@ -148,7 +148,7 @@ if ( ! class_exists( 'Access' ) ) {
|
||||
|
||||
$restricted_posts = um_get_option( 'restricted_access_post_metabox' );
|
||||
|
||||
if ( ! empty( $restricted_posts[ $post->post_type ] ) ) {
|
||||
if ( ! empty( $post->post_type ) && ! empty( $restricted_posts[ $post->post_type ] ) ) {
|
||||
$restriction = get_post_meta( $post->ID, 'um_content_restriction', true );
|
||||
|
||||
if ( ! empty( $restriction['_um_custom_access_settings'] ) ) {
|
||||
|
||||
Reference in New Issue
Block a user