← All changes
|
json-endpoints/jetpack/class.jetpack-json-api-themes-modify-endpoint.php
+6
-0
13.8.3
→
16.3-a.7
View file →
| @@ -1,10 +1,16 @@ | ||
| 1 | 1 | <?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName |
| 2 | 2 | |
| 3 | +if ( ! defined( 'ABSPATH' ) ) { | |
| 4 | + exit( 0 ); | |
| 5 | +} | |
| 6 | + | |
| 3 | 7 | /** |
| 4 | 8 | * Themes modify endpoint class. |
| 5 | 9 | * POST /sites/%s/themes/%s |
| 6 | 10 | * POST /sites/%s/themes |
| 11 | + * | |
| 12 | + * @phan-constructor-used-for-side-effects | |
| 7 | 13 | */ |
| 8 | 14 | class Jetpack_JSON_API_Themes_Modify_Endpoint extends Jetpack_JSON_API_Themes_Endpoint { |
| 9 | 15 | |
| 10 | 16 | /** |