← All changes
|
modules/subscriptions/newsletter-widget/class-jetpack-newsletter-dashboard-widget.php
+4
-0
16.2
→
16.3
View file →
| @@ -7,8 +7,12 @@ | ||
| 7 | 7 | |
| 8 | 8 | use Automattic\Jetpack\Connection\Client; |
| 9 | 9 | use Automattic\Jetpack\Modules; |
| 10 | 10 | |
| 11 | +if ( ! defined( 'ABSPATH' ) ) { | |
| 12 | + exit( 0 ); | |
| 13 | +} | |
| 14 | + | |
| 11 | 15 | /** |
| 12 | 16 | * Class that adds the Jetpack Newsletter Dashboard Widget to the WordPress admin dashboard. |
| 13 | 17 | */ |
| 14 | 18 | class Jetpack_Newsletter_Dashboard_Widget { |