Skip to content

Commit

Permalink
suppress PHPCS warning for show_admin_bar
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Schreiber authored and paulschreiber committed Mar 10, 2018
1 parent 8079fcd commit 65fcf5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/class-amp-theme-support.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 65fcf5a

Please sign in to comment.