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:
Brian Henry 2021-06-02 23:39:48 -07:00
parent 0507f06508
commit b4fc1737bc
1 changed files with 0 additions and 4 deletions

View File

@ -6,10 +6,6 @@
* @package WooCommerce\Interface
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
/**
* WC Logger Interface
*