Short ABSPATH check in includes/class-wc-webhook.php
This commit is contained in:
parent
cc7d7eec42
commit
7f5e5a3ca4
|
@ -11,9 +11,7 @@
|
|||
* @since 2.2.0
|
||||
*/
|
||||
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
exit; // Exit if accessed directly.
|
||||
}
|
||||
defined( 'ABSPATH' ) || exit;
|
||||
|
||||
require_once 'legacy/class-wc-legacy-webhook.php';
|
||||
|
||||
|
|
Loading…
Reference in New Issue