Code Duplication    Length = 2-2 lines in 10 locations

geodirectory-functions/general_functions.php 10 locations

@@ 4806-4807 (lines=2) @@
4803
			$seo         = isset( $cpt_info['seo'] ) ? $cpt_info['seo'] : '';
4804
4805
			if ( ! empty( $labels ) ) {
4806
				if ( $labels['name'] != '' && ! in_array( $labels['name'], $translation_texts ) ) {
4807
					$translation_texts[] = $labels['name'];
4808
				}
4809
				if ( $labels['singular_name'] != '' && ! in_array( $labels['singular_name'], $translation_texts ) ) {
4810
					$translation_texts[] = $labels['singular_name'];
@@ 4809-4810 (lines=2) @@
4806
				if ( $labels['name'] != '' && ! in_array( $labels['name'], $translation_texts ) ) {
4807
					$translation_texts[] = $labels['name'];
4808
				}
4809
				if ( $labels['singular_name'] != '' && ! in_array( $labels['singular_name'], $translation_texts ) ) {
4810
					$translation_texts[] = $labels['singular_name'];
4811
				}
4812
				if ( $labels['add_new'] != '' && ! in_array( $labels['add_new'], $translation_texts ) ) {
4813
					$translation_texts[] = $labels['add_new'];
@@ 4812-4813 (lines=2) @@
4809
				if ( $labels['singular_name'] != '' && ! in_array( $labels['singular_name'], $translation_texts ) ) {
4810
					$translation_texts[] = $labels['singular_name'];
4811
				}
4812
				if ( $labels['add_new'] != '' && ! in_array( $labels['add_new'], $translation_texts ) ) {
4813
					$translation_texts[] = $labels['add_new'];
4814
				}
4815
				if ( $labels['add_new_item'] != '' && ! in_array( $labels['add_new_item'], $translation_texts ) ) {
4816
					$translation_texts[] = $labels['add_new_item'];
@@ 4815-4816 (lines=2) @@
4812
				if ( $labels['add_new'] != '' && ! in_array( $labels['add_new'], $translation_texts ) ) {
4813
					$translation_texts[] = $labels['add_new'];
4814
				}
4815
				if ( $labels['add_new_item'] != '' && ! in_array( $labels['add_new_item'], $translation_texts ) ) {
4816
					$translation_texts[] = $labels['add_new_item'];
4817
				}
4818
				if ( $labels['edit_item'] != '' && ! in_array( $labels['edit_item'], $translation_texts ) ) {
4819
					$translation_texts[] = $labels['edit_item'];
@@ 4818-4819 (lines=2) @@
4815
				if ( $labels['add_new_item'] != '' && ! in_array( $labels['add_new_item'], $translation_texts ) ) {
4816
					$translation_texts[] = $labels['add_new_item'];
4817
				}
4818
				if ( $labels['edit_item'] != '' && ! in_array( $labels['edit_item'], $translation_texts ) ) {
4819
					$translation_texts[] = $labels['edit_item'];
4820
				}
4821
				if ( $labels['new_item'] != '' && ! in_array( $labels['new_item'], $translation_texts ) ) {
4822
					$translation_texts[] = $labels['new_item'];
@@ 4821-4822 (lines=2) @@
4818
				if ( $labels['edit_item'] != '' && ! in_array( $labels['edit_item'], $translation_texts ) ) {
4819
					$translation_texts[] = $labels['edit_item'];
4820
				}
4821
				if ( $labels['new_item'] != '' && ! in_array( $labels['new_item'], $translation_texts ) ) {
4822
					$translation_texts[] = $labels['new_item'];
4823
				}
4824
				if ( $labels['view_item'] != '' && ! in_array( $labels['view_item'], $translation_texts ) ) {
4825
					$translation_texts[] = $labels['view_item'];
@@ 4824-4825 (lines=2) @@
4821
				if ( $labels['new_item'] != '' && ! in_array( $labels['new_item'], $translation_texts ) ) {
4822
					$translation_texts[] = $labels['new_item'];
4823
				}
4824
				if ( $labels['view_item'] != '' && ! in_array( $labels['view_item'], $translation_texts ) ) {
4825
					$translation_texts[] = $labels['view_item'];
4826
				}
4827
				if ( $labels['search_items'] != '' && ! in_array( $labels['search_items'], $translation_texts ) ) {
4828
					$translation_texts[] = $labels['search_items'];
@@ 4827-4828 (lines=2) @@
4824
				if ( $labels['view_item'] != '' && ! in_array( $labels['view_item'], $translation_texts ) ) {
4825
					$translation_texts[] = $labels['view_item'];
4826
				}
4827
				if ( $labels['search_items'] != '' && ! in_array( $labels['search_items'], $translation_texts ) ) {
4828
					$translation_texts[] = $labels['search_items'];
4829
				}
4830
				if ( $labels['not_found'] != '' && ! in_array( $labels['not_found'], $translation_texts ) ) {
4831
					$translation_texts[] = $labels['not_found'];
@@ 4830-4831 (lines=2) @@
4827
				if ( $labels['search_items'] != '' && ! in_array( $labels['search_items'], $translation_texts ) ) {
4828
					$translation_texts[] = $labels['search_items'];
4829
				}
4830
				if ( $labels['not_found'] != '' && ! in_array( $labels['not_found'], $translation_texts ) ) {
4831
					$translation_texts[] = $labels['not_found'];
4832
				}
4833
				if ( $labels['not_found_in_trash'] != '' && ! in_array( $labels['not_found_in_trash'], $translation_texts ) ) {
4834
					$translation_texts[] = $labels['not_found_in_trash'];
@@ 4833-4834 (lines=2) @@
4830
				if ( $labels['not_found'] != '' && ! in_array( $labels['not_found'], $translation_texts ) ) {
4831
					$translation_texts[] = $labels['not_found'];
4832
				}
4833
				if ( $labels['not_found_in_trash'] != '' && ! in_array( $labels['not_found_in_trash'], $translation_texts ) ) {
4834
					$translation_texts[] = $labels['not_found_in_trash'];
4835
				}
4836
				if ( isset( $labels['label_post_profile'] ) && $labels['label_post_profile'] != '' && ! in_array( $labels['label_post_profile'], $translation_texts ) ) {
4837
					$translation_texts[] = $labels['label_post_profile'];