Remove functionless ABSPATH check.
Checking for ABSPATH is recommended so WordPress functions are not called before WordPress has been loaded. This does not apply to interfaces.
This commit is contained in:
parent
0507f06508
commit
b4fc1737bc
|
@ -6,10 +6,6 @@
|
|||
* @package WooCommerce\Interface
|
||||
*/
|
||||
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
exit; // Exit if accessed directly.
|
||||
}
|
||||
|
||||
/**
|
||||
* WC Logger Interface
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue