diff --git a/includes/wc-product-functions.php b/includes/wc-product-functions.php index 76f52af87cb..62263ab631e 100644 --- a/includes/wc-product-functions.php +++ b/includes/wc-product-functions.php @@ -4,13 +4,11 @@ * * Functions for product specific things. * - * @package WooCommerce/Functions - * @version 3.0.0 + * @package WooCommerce/Functions + * @version 3.0.0 */ -if ( ! defined( 'ABSPATH' ) ) { - exit; -} +defined( 'ABSPATH' ) || exit; /** * Standard way of retrieving products based on certain parameters.