← All changes
|
json-endpoints/class.wpcom-json-api-get-site-endpoint.php
+9
-0
16.3-a.3
→
16.3-beta
View file →
| @@ -244,12 +244,14 @@ | ||
| 244 | 244 | 'is_commercial_reasons', |
| 245 | 245 | 'wpcom_admin_interface', |
| 246 | 246 | 'wpcom_classic_early_release', |
| 247 | 247 | 'jetpack_recovery_mode_status', |
| 248 | + 'jetpack_sso_require_two_step', | |
| 248 | 249 | 'apm_enabled', |
| 249 | 250 | 'wpcom_ai_launchpad_enabled', |
| 250 | 251 | 'wpcom_ai_launchpad_dismissed', |
| 251 | 252 | 'wpcom_ai_launchpad_completed', |
| 253 | + 'wpcom_ai_launchpad_no_guidance', | |
| 252 | 254 | ); |
| 253 | 255 | |
| 254 | 256 | /** |
| 255 | 257 | * Jetpack response fields. |
| @@ -320,8 +322,9 @@ | ||
| 320 | 322 | 'is_commercial_reasons', |
| 321 | 323 | 'wpcom_admin_interface', |
| 322 | 324 | 'wpcom_classic_early_release', |
| 323 | 325 | 'jetpack_recovery_mode_status', |
| 326 | + 'jetpack_sso_require_two_step', | |
| 324 | 327 | 'apm_enabled', |
| 325 | 328 | ); |
| 326 | 329 | |
| 327 | 330 | /** |
| @@ -1025,8 +1028,11 @@ | ||
| 1025 | 1028 | break; |
| 1026 | 1029 | case 'jetpack_recovery_mode_status': |
| 1027 | 1030 | $options[ $key ] = $site->get_jetpack_recovery_mode_status(); |
| 1028 | 1031 | break; |
| 1032 | + case 'jetpack_sso_require_two_step': | |
| 1033 | + $options[ $key ] = $site->get_jetpack_sso_require_two_step(); | |
| 1034 | + break; | |
| 1029 | 1035 | case 'apm_enabled': |
| 1030 | 1036 | $options[ $key ] = $site->get_apm_enabled(); |
| 1031 | 1037 | break; |
| 1032 | 1038 | case 'wpcom_ai_launchpad_enabled': |
| @@ -1036,8 +1042,11 @@ | ||
| 1036 | 1042 | $options[ $key ] = $site->is_ai_launchpad_dismissed(); |
| 1037 | 1043 | break; |
| 1038 | 1044 | case 'wpcom_ai_launchpad_completed': |
| 1039 | 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(); | |
| 1040 | 1049 | break; |
| 1041 | 1050 | } |
| 1042 | 1051 | } |
| 1043 | 1052 | |