Short ABSPATH check in includes/class-wc-webhook.php

This commit is contained in:
Claudio Sanches 2018-03-21 00:22:04 -03:00
parent cc7d7eec42
commit 7f5e5a3ca4
1 changed files with 1 additions and 3 deletions

View File

@ -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';