From 1f9ba73b96191b5403945b44231e8dbb2f3b4f09 Mon Sep 17 00:00:00 2001 From: shivapoudel Date: Sun, 21 Sep 2014 00:51:46 +0545 Subject: [PATCH] Absolute path fix for wc-conditional-functions.php --- includes/wc-conditional-functions.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/includes/wc-conditional-functions.php b/includes/wc-conditional-functions.php index 9fbd282e2f2..88d02b48f11 100644 --- a/includes/wc-conditional-functions.php +++ b/includes/wc-conditional-functions.php @@ -10,7 +10,9 @@ * @version 2.1.0 */ -if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly +if ( ! defined( 'ABSPATH' ) ) { + exit; // Exit if accessed directly +} /** * is_woocommerce - Returns true if on a page which uses WooCommerce templates (cart and checkout are standard pages with shortcodes and thus are not included)