Fix access settings

This commit is contained in:
champsupertramp
2016-07-03 15:34:11 +08:00
parent a7af6e068e
commit c69f8098f2
+9 -8
View File
@@ -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;