From 45a9d373be772bdc1a8235e396725dd8963abd12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Sun, 28 Feb 2021 04:29:27 +0100 Subject: [PATCH] Comment out has_webfont --- includes/Styles.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/includes/Styles.php b/includes/Styles.php index df4e428..dc7415f 100644 --- a/includes/Styles.php +++ b/includes/Styles.php @@ -72,6 +72,7 @@ public function has_webfont( $webfont ) { // Short-circuits the method until I can figure out a way to make it properly work. return true; + /* if ( ! function_exists( 'get_current_screen' ) ) { require_once ABSPATH . 'wp-admin/includes/screen.php'; } @@ -84,6 +85,7 @@ public function has_webfont( $webfont ) { } } return false; + */ } /**