Code Duplication    Length = 3-3 lines in 2 locations

_inc/lib/class.core-rest-api-endpoints.php 2 locations

@@ 1172-1174 (lines=3) @@
1169
			return new WP_Error( 'rewind_data_fetch_failed', esc_html__( 'Failed fetching rewind data. Try again later.', 'jetpack' ), array( 'status' => 400 ) );
1170
		}
1171
1172
		if ( $rewind_data->get_error_code() === 'site_id_missing' ) {
1173
			return new WP_Error( 'site_id_missing', esc_html__( 'The ID of this site does not exist.', 'jetpack' ), array( 'status' => 404 ) );
1174
		}
1175
1176
		return new WP_Error(
1177
			'error_get_rewind_data',
@@ 1496-1498 (lines=3) @@
1493
				)
1494
			);
1495
		}
1496
		if ( $site_data->get_error_code() === 'site_data_fetch_failed' ) {
1497
			return new WP_Error( 'site_data_fetch_failed', esc_html__( 'Failed fetching site data. Try again later.', 'jetpack' ), array( 'status' => 400 ) );
1498
		}
1499
1500
		if ( $site_data->get_error_code() === 'site_id_missing' ) {
1501
			return new WP_Error( 'site_id_missing', esc_html__( 'The ID of this site does not exist.', 'jetpack' ), array( 'status' => 404 ) );