From 1aa73784f23138615fdff641f1b683a857b2627e Mon Sep 17 00:00:00 2001 From: Takashi Kitajima Date: Thu, 21 Sep 2017 23:54:24 +0900 Subject: [PATCH] Some fixes --- resources/app/setup/updater.php | 2 ++ resources/template-parts/sidebar-widget-area.php | 14 +++++++------- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/resources/app/setup/updater.php b/resources/app/setup/updater.php index 17b9b591..471a2189 100644 --- a/resources/app/setup/updater.php +++ b/resources/app/setup/updater.php @@ -7,4 +7,6 @@ use Inc2734\WP_GitHub_Theme_Updater\GitHub_Theme_Updater; +// @codingStandardsIgnoreStart // $updater = new GitHub_Theme_Updater( get_stylesheet(), '', '' ); +// @codingStandardsIgnoreEnd diff --git a/resources/template-parts/sidebar-widget-area.php b/resources/template-parts/sidebar-widget-area.php index cd2dc172..27954583 100644 --- a/resources/template-parts/sidebar-widget-area.php +++ b/resources/template-parts/sidebar-widget-area.php @@ -5,11 +5,11 @@ * @license GPL-2.0+ */ - if ( ! is_active_sidebar( get_post_type() . '-post-type-sidebar-widget-area' ) ) { - return; - } - ?> +if ( ! is_active_sidebar( get_post_type() . '-post-type-sidebar-widget-area' ) ) { + return; +} +?> - +