| @@ -7,8 +7,12 @@ | ||
| 7 | 7 | */ |
| 8 | 8 | |
| 9 | 9 | namespace Automattic\Jetpack\Scan; |
| 10 | 10 | |
| 11 | +if ( ! defined( 'ABSPATH' ) ) { | |
| 12 | + exit( 0 ); | |
| 13 | +} | |
| 14 | + | |
| 11 | 15 | if ( ! apply_filters( 'jetpack_disable_scan', false ) ) { |
| 12 | 16 | require_once __DIR__ . '/class-admin-bar-notice.php'; |
| 13 | 17 | require_once __DIR__ . '/class-admin-sidebar-link.php'; |
| 14 | 18 | |