Code Duplication    Length = 3-3 lines in 2 locations

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

@@ 1162-1164 (lines=3) @@
1159
			return new WP_Error( 'rewind_data_fetch_failed', esc_html__( 'Failed fetching rewind data. Try again later.', 'jetpack' ), array( 'status' => 400 ) );
1160
		}
1161
1162
		if ( $rewind_data->get_error_code() === 'site_id_missing' ) {
1163
			return new WP_Error( 'site_id_missing', esc_html__( 'The ID of this site does not exist.', 'jetpack' ), array( 'status' => 404 ) );
1164
		}
1165
1166
		return new WP_Error(
1167
			'error_get_rewind_data',
@@ 1486-1488 (lines=3) @@
1483
				)
1484
			);
1485
		}
1486
		if ( $site_data->get_error_code() === 'site_data_fetch_failed' ) {
1487
			return new WP_Error( 'site_data_fetch_failed', esc_html__( 'Failed fetching site data. Try again later.', 'jetpack' ), array( 'status' => 400 ) );
1488
		}
1489
1490
		if ( $site_data->get_error_code() === 'site_id_missing' ) {
1491
			return new WP_Error( 'site_id_missing', esc_html__( 'The ID of this site does not exist.', 'jetpack' ), array( 'status' => 404 ) );