| @@ -11,8 +11,12 @@ | ||
| 11 | 11 | |
| 12 | 12 | use Automattic\Jetpack\WP_Abilities\Registrar; |
| 13 | 13 | use Jetpack; |
| 14 | 14 | |
| 15 | +if ( ! defined( 'ABSPATH' ) ) { | |
| 16 | + exit( 0 ); | |
| 17 | +} | |
| 18 | + | |
| 15 | 19 | /** |
| 16 | 20 | * Registers Jetpack module management abilities with the WordPress Abilities API. |
| 17 | 21 | * |
| 18 | 22 | * Exposes a filtered read (`get-modules`) and a declarative state-setter |