_inc/class.jetpack-provision.php 1 location
|
@@ 180-187 (lines=8) @@
|
177 |
|
return $body_json; |
178 |
|
} |
179 |
|
|
180 |
|
private static function partner_provision_error( $error ) { |
181 |
|
WP_CLI::log( json_encode( array( |
182 |
|
'success' => false, |
183 |
|
'error_code' => $error->get_error_code(), |
184 |
|
'error_message' => $error->get_error_message() |
185 |
|
) ) ); |
186 |
|
exit( 1 ); |
187 |
|
} |
188 |
|
|
189 |
|
private static function get_api_host() { |
190 |
|
$env_api_host = getenv( 'JETPACK_START_API_HOST', true ); |
class.jetpack-cli.php 1 location
|
@@ 977-984 (lines=8) @@
|
974 |
|
return $env_api_host ? $env_api_host : JETPACK__WPCOM_JSON_API_HOST; |
975 |
|
} |
976 |
|
|
977 |
|
private function partner_provision_error( $error ) { |
978 |
|
WP_CLI::log( json_encode( array( |
979 |
|
'success' => false, |
980 |
|
'error_code' => $error->get_error_code(), |
981 |
|
'error_message' => $error->get_error_message() |
982 |
|
) ) ); |
983 |
|
exit( 1 ); |
984 |
|
} |
985 |
|
} |
986 |
|
|
987 |
|
/* |