|
@@ 905-907 (lines=3) @@
|
| 902 |
|
); |
| 903 |
|
} |
| 904 |
|
|
| 905 |
|
if ( $rewind_data->get_error_code() === 'rewind_data_fetch_failed' ) { |
| 906 |
|
return new WP_Error( 'rewind_data_fetch_failed', esc_html__( 'Failed fetching rewind data. Try again later.', 'jetpack' ), array( 'status' => 400 ) ); |
| 907 |
|
} |
| 908 |
|
|
| 909 |
|
if ( $rewind_data->get_error_code() === 'site_id_missing' ) { |
| 910 |
|
return new WP_Error( 'site_id_missing', esc_html__( 'The ID of this site does not exist.', 'jetpack' ), array( 'status' => 404 ) ); |
|
@@ 909-911 (lines=3) @@
|
| 906 |
|
return new WP_Error( 'rewind_data_fetch_failed', esc_html__( 'Failed fetching rewind data. Try again later.', 'jetpack' ), array( 'status' => 400 ) ); |
| 907 |
|
} |
| 908 |
|
|
| 909 |
|
if ( $rewind_data->get_error_code() === 'site_id_missing' ) { |
| 910 |
|
return new WP_Error( 'site_id_missing', esc_html__( 'The ID of this site does not exist.', 'jetpack' ), array( 'status' => 404 ) ); |
| 911 |
|
} |
| 912 |
|
|
| 913 |
|
return new WP_Error( |
| 914 |
|
'error_get_rewind_data', |
|
@@ 1203-1205 (lines=3) @@
|
| 1200 |
|
) |
| 1201 |
|
); |
| 1202 |
|
} |
| 1203 |
|
if ( $site_data->get_error_code() === 'site_data_fetch_failed' ) { |
| 1204 |
|
return new WP_Error( 'site_data_fetch_failed', esc_html__( 'Failed fetching site data. Try again later.', 'jetpack' ), array( 'status' => 400 ) ); |
| 1205 |
|
} |
| 1206 |
|
|
| 1207 |
|
if ( $site_data->get_error_code() === 'site_id_missing' ) { |
| 1208 |
|
return new WP_Error( 'site_id_missing', esc_html__( 'The ID of this site does not exist.', 'jetpack' ), array( 'status' => 404 ) ); |
|
@@ 1207-1209 (lines=3) @@
|
| 1204 |
|
return new WP_Error( 'site_data_fetch_failed', esc_html__( 'Failed fetching site data. Try again later.', 'jetpack' ), array( 'status' => 400 ) ); |
| 1205 |
|
} |
| 1206 |
|
|
| 1207 |
|
if ( $site_data->get_error_code() === 'site_id_missing' ) { |
| 1208 |
|
return new WP_Error( 'site_id_missing', esc_html__( 'The ID of this site does not exist.', 'jetpack' ), array( 'status' => 404 ) ); |
| 1209 |
|
} |
| 1210 |
|
} |
| 1211 |
|
|
| 1212 |
|
/** |