Short ABSPATH check
This commit is contained in:
parent
c7e9c11dd7
commit
da23b0399e
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue