Code Duplication    Length = 3-3 lines in 2 locations

wp-includes/l10n.php 2 locations

@@ 849-851 (lines=3) @@
846
	$locale = get_locale();
847
	$mofile = "{$domain}-{$locale}.mo";
848
849
	if ( in_array( WP_LANG_DIR . '/plugins/' . $mofile, $cached_mofiles ) ) {
850
		return load_textdomain( $domain, WP_LANG_DIR . '/plugins/' . $mofile );
851
	}
852
853
	if ( in_array( WP_LANG_DIR . '/themes/' . $mofile, $cached_mofiles ) ) {
854
		return load_textdomain( $domain, WP_LANG_DIR . '/themes/' . $mofile );
@@ 853-855 (lines=3) @@
850
		return load_textdomain( $domain, WP_LANG_DIR . '/plugins/' . $mofile );
851
	}
852
853
	if ( in_array( WP_LANG_DIR . '/themes/' . $mofile, $cached_mofiles ) ) {
854
		return load_textdomain( $domain, WP_LANG_DIR . '/themes/' . $mofile );
855
	}
856
857
	return false;
858
}