From 028bb68132bbe2b37ea588971c83d7efc5f305db Mon Sep 17 00:00:00 2001 From: champsupertramp Date: Wed, 16 Dec 2015 18:15:40 +0800 Subject: [PATCH] Fixed category posts restriction and edirection --- core/um-actions-access.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/um-actions-access.php b/core/um-actions-access.php index b54ba294..1368eb6d 100644 --- a/core/um-actions-access.php +++ b/core/um-actions-access.php @@ -112,6 +112,11 @@ } } + + if( is_archive() ){ + $ultimatemember->access->allow_access = true; + $ultimatemember->access->redirect_handler = false; // open to everyone + } } } }