From d59a7463eb43929f221e7edc5609bbdd1eba8722 Mon Sep 17 00:00:00 2001 From: Claudio Sanches Date: Wed, 21 Mar 2018 00:03:50 -0300 Subject: [PATCH] Fixed includes/class-wc-geolocation.php PHPCS violations --- includes/class-wc-geolocation.php | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/includes/class-wc-geolocation.php b/includes/class-wc-geolocation.php index 221d7fc4092..0fe36acaed7 100644 --- a/includes/class-wc-geolocation.php +++ b/includes/class-wc-geolocation.php @@ -6,15 +6,11 @@ * * This product includes GeoLite data created by MaxMind, available from http://www.maxmind.com. * - * @author WooThemes - * @category Admin - * @package WooCommerce/Classes - * @version 2.4.0 + * @package WooCommerce/Classes + * @version 2.4.0 */ -if ( ! defined( 'ABSPATH' ) ) { - exit; -} +defined( 'ABSPATH' ) || exit; /** * WC_Geolocation Class.