|
@@ 1437-1439 (lines=3) @@
|
| 1434 |
|
) |
| 1435 |
|
); |
| 1436 |
|
} |
| 1437 |
|
if ( $site_data->get_error_code() === 'site_data_fetch_failed' ) { |
| 1438 |
|
return new WP_Error( 'site_data_fetch_failed', esc_html__( 'Failed fetching site data. Try again later.', 'jetpack' ), array( 'status' => 400 ) ); |
| 1439 |
|
} |
| 1440 |
|
|
| 1441 |
|
if ( $site_data->get_error_code() === 'site_id_missing' ) { |
| 1442 |
|
return new WP_Error( 'site_id_missing', esc_html__( 'The ID of this site does not exist.', 'jetpack' ), array( 'status' => 404 ) ); |
|
@@ 1441-1443 (lines=3) @@
|
| 1438 |
|
return new WP_Error( 'site_data_fetch_failed', esc_html__( 'Failed fetching site data. Try again later.', 'jetpack' ), array( 'status' => 400 ) ); |
| 1439 |
|
} |
| 1440 |
|
|
| 1441 |
|
if ( $site_data->get_error_code() === 'site_id_missing' ) { |
| 1442 |
|
return new WP_Error( 'site_id_missing', esc_html__( 'The ID of this site does not exist.', 'jetpack' ), array( 'status' => 404 ) ); |
| 1443 |
|
} |
| 1444 |
|
} |
| 1445 |
|
|
| 1446 |
|
/** |
|
@@ 1109-1111 (lines=3) @@
|
| 1106 |
|
); |
| 1107 |
|
} |
| 1108 |
|
|
| 1109 |
|
if ( $rewind_data->get_error_code() === 'rewind_data_fetch_failed' ) { |
| 1110 |
|
return new WP_Error( 'rewind_data_fetch_failed', esc_html__( 'Failed fetching rewind data. Try again later.', 'jetpack' ), array( 'status' => 400 ) ); |
| 1111 |
|
} |
| 1112 |
|
|
| 1113 |
|
if ( $rewind_data->get_error_code() === 'site_id_missing' ) { |
| 1114 |
|
return new WP_Error( 'site_id_missing', esc_html__( 'The ID of this site does not exist.', 'jetpack' ), array( 'status' => 404 ) ); |
|
@@ 1113-1115 (lines=3) @@
|
| 1110 |
|
return new WP_Error( 'rewind_data_fetch_failed', esc_html__( 'Failed fetching rewind data. Try again later.', 'jetpack' ), array( 'status' => 400 ) ); |
| 1111 |
|
} |
| 1112 |
|
|
| 1113 |
|
if ( $rewind_data->get_error_code() === 'site_id_missing' ) { |
| 1114 |
|
return new WP_Error( 'site_id_missing', esc_html__( 'The ID of this site does not exist.', 'jetpack' ), array( 'status' => 404 ) ); |
| 1115 |
|
} |
| 1116 |
|
|
| 1117 |
|
return new WP_Error( |
| 1118 |
|
'error_get_rewind_data', |