← All changes
|
json-endpoints/class.wpcom-json-api-get-site-endpoint.php
+13
-0
16.3-a.1
→
16.3-beta
View file →
| @@ -226,8 +226,9 @@ | ||
| 226 | 226 | 'videopress_storage_used', |
| 227 | 227 | 'is_difm_lite_in_progress', |
| 228 | 228 | 'difm_lite_site_options', |
| 229 | 229 | 'is_gating_business_q1', |
| 230 | + 'is_legacy_gating_site', | |
| 230 | 231 | 'site_intent', |
| 231 | 232 | 'site_partner_bundle', |
| 232 | 233 | 'onboarding_segment', |
| 233 | 234 | 'site_vertical_id', |
| @@ -243,12 +244,14 @@ | ||
| 243 | 244 | 'is_commercial_reasons', |
| 244 | 245 | 'wpcom_admin_interface', |
| 245 | 246 | 'wpcom_classic_early_release', |
| 246 | 247 | 'jetpack_recovery_mode_status', |
| 248 | + 'jetpack_sso_require_two_step', | |
| 247 | 249 | 'apm_enabled', |
| 248 | 250 | 'wpcom_ai_launchpad_enabled', |
| 249 | 251 | 'wpcom_ai_launchpad_dismissed', |
| 250 | 252 | 'wpcom_ai_launchpad_completed', |
| 253 | + 'wpcom_ai_launchpad_no_guidance', | |
| 251 | 254 | ); |
| 252 | 255 | |
| 253 | 256 | /** |
| 254 | 257 | * Jetpack response fields. |
| @@ -319,8 +322,9 @@ | ||
| 319 | 322 | 'is_commercial_reasons', |
| 320 | 323 | 'wpcom_admin_interface', |
| 321 | 324 | 'wpcom_classic_early_release', |
| 322 | 325 | 'jetpack_recovery_mode_status', |
| 326 | + 'jetpack_sso_require_two_step', | |
| 323 | 327 | 'apm_enabled', |
| 324 | 328 | ); |
| 325 | 329 | |
| 326 | 330 | /** |
| @@ -965,8 +969,11 @@ | ||
| 965 | 969 | break; |
| 966 | 970 | case 'is_gating_business_q1': |
| 967 | 971 | $options[ $key ] = $site->is_gating_business_q1(); |
| 968 | 972 | break; |
| 973 | + case 'is_legacy_gating_site': | |
| 974 | + $options[ $key ] = $site->is_legacy_gating_site(); | |
| 975 | + break; | |
| 969 | 976 | case 'site_intent': |
| 970 | 977 | $options[ $key ] = $site->get_site_intent(); |
| 971 | 978 | break; |
| 972 | 979 | case 'site_partner_bundle': |
| @@ -1021,8 +1028,11 @@ | ||
| 1021 | 1028 | break; |
| 1022 | 1029 | case 'jetpack_recovery_mode_status': |
| 1023 | 1030 | $options[ $key ] = $site->get_jetpack_recovery_mode_status(); |
| 1024 | 1031 | break; |
| 1032 | + case 'jetpack_sso_require_two_step': | |
| 1033 | + $options[ $key ] = $site->get_jetpack_sso_require_two_step(); | |
| 1034 | + break; | |
| 1025 | 1035 | case 'apm_enabled': |
| 1026 | 1036 | $options[ $key ] = $site->get_apm_enabled(); |
| 1027 | 1037 | break; |
| 1028 | 1038 | case 'wpcom_ai_launchpad_enabled': |
| @@ -1032,8 +1042,11 @@ | ||
| 1032 | 1042 | $options[ $key ] = $site->is_ai_launchpad_dismissed(); |
| 1033 | 1043 | break; |
| 1034 | 1044 | case 'wpcom_ai_launchpad_completed': |
| 1035 | 1045 | $options[ $key ] = $site->is_ai_launchpad_completed(); |
| 1046 | + break; | |
| 1047 | + case 'wpcom_ai_launchpad_no_guidance': | |
| 1048 | + $options[ $key ] = $site->is_ai_launchpad_no_guidance(); | |
| 1036 | 1049 | break; |
| 1037 | 1050 | } |
| 1038 | 1051 | } |
| 1039 | 1052 | |