← All changes
|
json-endpoints/class.wpcom-json-api-site-settings-v1-3-endpoint.php
+5
-0
13.7.2
→
16.3-a.7
View file →
| @@ -1,6 +1,9 @@ | ||
| 1 | 1 | <?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName |
| 2 | 2 | |
| 3 | +if ( ! defined( 'ABSPATH' ) ) { | |
| 4 | + exit( 0 ); | |
| 5 | +} | |
| 3 | 6 | |
| 4 | 7 | new WPCOM_JSON_API_Site_Settings_V1_3_Endpoint( |
| 5 | 8 | array( |
| 6 | 9 | 'description' => 'Get detailed settings information about a site.', |
| @@ -119,8 +122,10 @@ | ||
| 119 | 122 | ); |
| 120 | 123 | |
| 121 | 124 | /** |
| 122 | 125 | * Site settings v1_3 endpoint class. |
| 126 | + * | |
| 127 | + * @phan-constructor-used-for-side-effects | |
| 123 | 128 | */ |
| 124 | 129 | class WPCOM_JSON_API_Site_Settings_V1_3_Endpoint extends WPCOM_JSON_API_Site_Settings_V1_2_Endpoint { |
| 125 | 130 | |
| 126 | 131 | /** |