diff --git a/includes/Config.php b/includes/Config.php index 554dade..15570c5 100644 --- a/includes/Config.php +++ b/includes/Config.php @@ -36,10 +36,6 @@ public static function get_wp_config_initialization_constants() { * @return boolean */ public static function get_site_capability( $capability ) { - // Only fetch capabilities in the admin when a user is logged in - if ( ! is_admin() || ! is_user_logged_in() ) { - return false; - } $site_capabilities = new SiteCapabilities(); return $site_capabilities->get( $capability ); }