mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
Fix access settings
This commit is contained in:
@@ -237,14 +237,15 @@
|
||||
$um_post_id = get_option('woocommerce_shop_page_id');
|
||||
|
||||
} else if (
|
||||
is_category() ||
|
||||
is_archive() ||
|
||||
is_search() ||
|
||||
in_the_loop() ||
|
||||
is_feed() ||
|
||||
is_tax() ||
|
||||
! get_post_type() ||
|
||||
! isset( $post->ID )
|
||||
is_category() ||
|
||||
is_archive() ||
|
||||
is_search() ||
|
||||
in_the_loop() ||
|
||||
is_feed() ||
|
||||
is_tax() ||
|
||||
! get_post_type() ||
|
||||
! isset( $post->ID ) ||
|
||||
is_home()
|
||||
) {
|
||||
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user