← All changes
|
json-endpoints/jetpack/class.wpcom-json-api-update-option-endpoint.php
+6
-0
13.0.2
→
16.3-a.7
View file →
| @@ -1,8 +1,14 @@ | ||
| 1 | 1 | <?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName |
| 2 | 2 | |
| 3 | +if ( ! defined( 'ABSPATH' ) ) { | |
| 4 | + exit( 0 ); | |
| 5 | +} | |
| 6 | + | |
| 3 | 7 | /** |
| 4 | 8 | * Update option endpoint. |
| 9 | + * | |
| 10 | + * @phan-constructor-used-for-side-effects | |
| 5 | 11 | */ |
| 6 | 12 | class WPCOM_JSON_API_Update_Option_Endpoint extends WPCOM_JSON_API_Get_Option_Endpoint { |
| 7 | 13 | /** |
| 8 | 14 | * The option value. |