← All changes
|
json-endpoints/jetpack/class-jetpack-json-api-modules-list-v1-2-endpoint.php
+7
-0
13.3.3
→
16.3-a.5
View file →
| @@ -5,10 +5,17 @@ | ||
| 5 | 5 | * @package automattic/jetpack |
| 6 | 6 | */ |
| 7 | 7 | |
| 8 | 8 | use Automattic\Jetpack\Status; |
| 9 | + | |
| 10 | +if ( ! defined( 'ABSPATH' ) ) { | |
| 11 | + exit( 0 ); | |
| 12 | +} | |
| 13 | + | |
| 9 | 14 | /** |
| 10 | 15 | * List modules v1.2 endpoint. |
| 16 | + * | |
| 17 | + * @phan-constructor-used-for-side-effects | |
| 11 | 18 | */ |
| 12 | 19 | class Jetpack_JSON_API_Modules_List_V1_2_Endpoint extends Jetpack_JSON_API_Endpoint { |
| 13 | 20 | |
| 14 | 21 | /** |