Code Duplication    Length = 7-8 lines in 2 locations

tools/i18n/makepot.php 2 locations

@@ 575-581 (lines=7) @@
572
		) );
573
	}
574
575
	public function wporg_themes( $dir, $output ) {
576
		$output = is_null( $output ) ? 'wporg-themes.pot' : $output;
577
		return $this->xgettext( 'wporg', $dir, $output, array(), array(), array(
578
			'plugins/theme-directory/.*',
579
			'themes/pub/wporg-themes/.*'
580
		) );
581
	}
582
583
	public function wporg_plugins( $dir, $output ) {
584
		$output = is_null( $output ) ? 'wporg-plugins.pot' : $output;
@@ 583-590 (lines=8) @@
580
		) );
581
	}
582
583
	public function wporg_plugins( $dir, $output ) {
584
		$output = is_null( $output ) ? 'wporg-plugins.pot' : $output;
585
		return $this->xgettext( 'wporg', $dir, $output, array(), array(
586
			'plugins/svn-track/i18n-tools/.*'
587
			), array(
588
			'.*\.php',
589
		) );
590
	}
591
592
	public function wporg_forums( $dir, $output ) {
593
		$output = is_null( $output ) ? 'wporg-forums.pot' : $output;