← All changes
|
extensions/blocks/payments-intro/payments-intro.php
+4
-0
13.2.4
→
16.3-beta
View file →
| @@ -12,8 +12,12 @@ | ||
| 12 | 12 | namespace Automattic\Jetpack\Extensions\PaymentsIntro; |
| 13 | 13 | |
| 14 | 14 | use Automattic\Jetpack\Blocks; |
| 15 | 15 | |
| 16 | +if ( ! defined( 'ABSPATH' ) ) { | |
| 17 | + exit( 0 ); | |
| 18 | +} | |
| 19 | + | |
| 16 | 20 | /** |
| 17 | 21 | * Registers the block for use in Gutenberg |
| 18 | 22 | * This is done via an action so that we can disable |
| 19 | 23 | * registration if we need to. |