Removed debug code from testing roles and capabilities updates.
authorChuck Scott <cscott@gaslightmedia.com>
Fri, 23 Jun 2017 19:48:31 +0000 (15:48 -0400)
committerChuck Scott <cscott@gaslightmedia.com>
Fri, 23 Jun 2017 19:48:31 +0000 (15:48 -0400)
setup/permissions.php

index 6967d85..af74f0c 100644 (file)
@@ -30,6 +30,7 @@ add_filter('glm_members_current_logged_in_user',
         // If no wordpress user is logged in, then no point checking for a contact user
         if (!$loggedInUser['wpUser']) {
             return $loggedInUser;
+
         }
 
         // Get contact ID from user meta data, if none then not a contact user, return false