Code Duplication    Length = 4-4 lines in 2 locations

sync/class.jetpack-sync-queue.php 2 locations

@@ 295-298 (lines=4) @@
292
	}
293
294
	static private function get_item_value( $item ) {
295
		if ( 'jetpack_full_sync_posts' === $item->value[0] && isset( $item->value[1] ) ) {
296
			// turn post ids to post data
297
			$item->value[1] = apply_filters( 'jetpack_full_sync_posts_data', $item->value[1] ); 
298
		}
299
300
		if ( 'jetpack_full_sync_comments' === $item->value[0] && isset( $item->value[1] ) ) {
301
			// turn comment ids to comment data
@@ 300-303 (lines=4) @@
297
			$item->value[1] = apply_filters( 'jetpack_full_sync_posts_data', $item->value[1] ); 
298
		}
299
300
		if ( 'jetpack_full_sync_comments' === $item->value[0] && isset( $item->value[1] ) ) {
301
			// turn comment ids to comment data
302
			$item->value[1] = apply_filters( 'jetpack_full_sync_comments_data', $item->value[1] );
303
		}
304
305
		
306
		return $item->value;