From 7ee0b91ffcdfec3fc82142cdc04f95e98c1da502 Mon Sep 17 00:00:00 2001 From: Dave Ryan Date: Thu, 21 Nov 2024 17:13:55 -0700 Subject: [PATCH] remove all site cap changes --- includes/Config.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/includes/Config.php b/includes/Config.php index 672b001..6c57187 100644 --- a/includes/Config.php +++ b/includes/Config.php @@ -37,9 +37,6 @@ public static function get_wp_config_initialization_constants() { */ public static function get_site_capability( $capability ) { // Only fetch capabilities in the admin when a user is logged in - if ( ! is_user_logged_in() ) { - return false; - } $site_capabilities = new SiteCapabilities(); return $site_capabilities->get( $capability ); }