Code Duplication    Length = 3-3 lines in 3 locations

class.jetpack.php 3 locations

@@ 2559-2561 (lines=3) @@
2556
		foreach ( $modules as $index => $module ) {
2557
			// Names and descriptions are aggregated by tools/build-module-headings-translations.php
2558
			// and output in modules/module-headings.php
2559
			if ( isset( $module['name'] ) ) {
2560
				$modules[ $index ]['name'] = _x( $module['name'], 'Module Name', 'jetpack' );
2561
			}
2562
			if ( isset( $module['description'] ) ) {
2563
				$modules[ $index ]['description'] = _x( $module['description'], 'Module Description', 'jetpack' );
2564
			}
@@ 2562-2564 (lines=3) @@
2559
			if ( isset( $module['name'] ) ) {
2560
				$modules[ $index ]['name'] = _x( $module['name'], 'Module Name', 'jetpack' );
2561
			}
2562
			if ( isset( $module['description'] ) ) {
2563
				$modules[ $index ]['description'] = _x( $module['description'], 'Module Description', 'jetpack' );
2564
			}
2565
			if ( isset( $module['short_description'] ) ) {
2566
				$modules[ $index ]['short_description'] = _x( $module['short_description'], 'Module Description', 'jetpack' );
2567
			}
@@ 2565-2567 (lines=3) @@
2562
			if ( isset( $module['description'] ) ) {
2563
				$modules[ $index ]['description'] = _x( $module['description'], 'Module Description', 'jetpack' );
2564
			}
2565
			if ( isset( $module['short_description'] ) ) {
2566
				$modules[ $index ]['short_description'] = _x( $module['short_description'], 'Module Description', 'jetpack' );
2567
			}
2568
		}
2569
		return $modules;
2570
	}