Code Duplication    Length = 2-2 lines in 10 locations

geodirectory-functions/general_functions.php 10 locations

@@ 4833-4834 (lines=2) @@
4830
			$seo         = isset( $cpt_info['seo'] ) ? $cpt_info['seo'] : '';
4831
4832
			if ( ! empty( $labels ) ) {
4833
				if ( $labels['name'] != '' && ! in_array( $labels['name'], $translation_texts ) ) {
4834
					$translation_texts[] = $labels['name'];
4835
				}
4836
				if ( $labels['singular_name'] != '' && ! in_array( $labels['singular_name'], $translation_texts ) ) {
4837
					$translation_texts[] = $labels['singular_name'];
@@ 4836-4837 (lines=2) @@
4833
				if ( $labels['name'] != '' && ! in_array( $labels['name'], $translation_texts ) ) {
4834
					$translation_texts[] = $labels['name'];
4835
				}
4836
				if ( $labels['singular_name'] != '' && ! in_array( $labels['singular_name'], $translation_texts ) ) {
4837
					$translation_texts[] = $labels['singular_name'];
4838
				}
4839
				if ( $labels['add_new'] != '' && ! in_array( $labels['add_new'], $translation_texts ) ) {
4840
					$translation_texts[] = $labels['add_new'];
@@ 4839-4840 (lines=2) @@
4836
				if ( $labels['singular_name'] != '' && ! in_array( $labels['singular_name'], $translation_texts ) ) {
4837
					$translation_texts[] = $labels['singular_name'];
4838
				}
4839
				if ( $labels['add_new'] != '' && ! in_array( $labels['add_new'], $translation_texts ) ) {
4840
					$translation_texts[] = $labels['add_new'];
4841
				}
4842
				if ( $labels['add_new_item'] != '' && ! in_array( $labels['add_new_item'], $translation_texts ) ) {
4843
					$translation_texts[] = $labels['add_new_item'];
@@ 4842-4843 (lines=2) @@
4839
				if ( $labels['add_new'] != '' && ! in_array( $labels['add_new'], $translation_texts ) ) {
4840
					$translation_texts[] = $labels['add_new'];
4841
				}
4842
				if ( $labels['add_new_item'] != '' && ! in_array( $labels['add_new_item'], $translation_texts ) ) {
4843
					$translation_texts[] = $labels['add_new_item'];
4844
				}
4845
				if ( $labels['edit_item'] != '' && ! in_array( $labels['edit_item'], $translation_texts ) ) {
4846
					$translation_texts[] = $labels['edit_item'];
@@ 4845-4846 (lines=2) @@
4842
				if ( $labels['add_new_item'] != '' && ! in_array( $labels['add_new_item'], $translation_texts ) ) {
4843
					$translation_texts[] = $labels['add_new_item'];
4844
				}
4845
				if ( $labels['edit_item'] != '' && ! in_array( $labels['edit_item'], $translation_texts ) ) {
4846
					$translation_texts[] = $labels['edit_item'];
4847
				}
4848
				if ( $labels['new_item'] != '' && ! in_array( $labels['new_item'], $translation_texts ) ) {
4849
					$translation_texts[] = $labels['new_item'];
@@ 4848-4849 (lines=2) @@
4845
				if ( $labels['edit_item'] != '' && ! in_array( $labels['edit_item'], $translation_texts ) ) {
4846
					$translation_texts[] = $labels['edit_item'];
4847
				}
4848
				if ( $labels['new_item'] != '' && ! in_array( $labels['new_item'], $translation_texts ) ) {
4849
					$translation_texts[] = $labels['new_item'];
4850
				}
4851
				if ( $labels['view_item'] != '' && ! in_array( $labels['view_item'], $translation_texts ) ) {
4852
					$translation_texts[] = $labels['view_item'];
@@ 4851-4852 (lines=2) @@
4848
				if ( $labels['new_item'] != '' && ! in_array( $labels['new_item'], $translation_texts ) ) {
4849
					$translation_texts[] = $labels['new_item'];
4850
				}
4851
				if ( $labels['view_item'] != '' && ! in_array( $labels['view_item'], $translation_texts ) ) {
4852
					$translation_texts[] = $labels['view_item'];
4853
				}
4854
				if ( $labels['search_items'] != '' && ! in_array( $labels['search_items'], $translation_texts ) ) {
4855
					$translation_texts[] = $labels['search_items'];
@@ 4854-4855 (lines=2) @@
4851
				if ( $labels['view_item'] != '' && ! in_array( $labels['view_item'], $translation_texts ) ) {
4852
					$translation_texts[] = $labels['view_item'];
4853
				}
4854
				if ( $labels['search_items'] != '' && ! in_array( $labels['search_items'], $translation_texts ) ) {
4855
					$translation_texts[] = $labels['search_items'];
4856
				}
4857
				if ( $labels['not_found'] != '' && ! in_array( $labels['not_found'], $translation_texts ) ) {
4858
					$translation_texts[] = $labels['not_found'];
@@ 4857-4858 (lines=2) @@
4854
				if ( $labels['search_items'] != '' && ! in_array( $labels['search_items'], $translation_texts ) ) {
4855
					$translation_texts[] = $labels['search_items'];
4856
				}
4857
				if ( $labels['not_found'] != '' && ! in_array( $labels['not_found'], $translation_texts ) ) {
4858
					$translation_texts[] = $labels['not_found'];
4859
				}
4860
				if ( $labels['not_found_in_trash'] != '' && ! in_array( $labels['not_found_in_trash'], $translation_texts ) ) {
4861
					$translation_texts[] = $labels['not_found_in_trash'];
@@ 4860-4861 (lines=2) @@
4857
				if ( $labels['not_found'] != '' && ! in_array( $labels['not_found'], $translation_texts ) ) {
4858
					$translation_texts[] = $labels['not_found'];
4859
				}
4860
				if ( $labels['not_found_in_trash'] != '' && ! in_array( $labels['not_found_in_trash'], $translation_texts ) ) {
4861
					$translation_texts[] = $labels['not_found_in_trash'];
4862
				}
4863
				if ( isset( $labels['label_post_profile'] ) && $labels['label_post_profile'] != '' && ! in_array( $labels['label_post_profile'], $translation_texts ) ) {
4864
					$translation_texts[] = $labels['label_post_profile'];