From a5eeba070b0e910962b06e8b47b94c20541666ad Mon Sep 17 00:00:00 2001 From: Paul Schreiber Date: Thu, 8 Mar 2018 13:43:35 -0500 Subject: [PATCH] suppress PHPCS warning for show_admin_bar --- includes/class-amp-theme-support.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/class-amp-theme-support.php b/includes/class-amp-theme-support.php index ee7da221ad0..c0d996e19d9 100644 --- a/includes/class-amp-theme-support.php +++ b/includes/class-amp-theme-support.php @@ -229,7 +229,7 @@ public static function add_hooks() { * Disable admin bar because admin-bar.css (28K) and Dashicons (48K) alone * combine to surpass the 50K limit imposed for the amp-custom style. */ - add_filter( 'show_admin_bar', '__return_false', 100 ); + add_filter( 'show_admin_bar', '__return_false', 100 ); // phpcs:ignore /* * Start output buffering at very low priority for sake of plugins and themes that use template_redirect