Code Duplication    Length = 2-2 lines in 8 locations

geodirectory-functions/general_functions.php 8 locations

@@ 4863-4864 (lines=2) @@
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'];
4865
				}
4866
				if ( isset( $labels['label_post_info'] ) && $labels['label_post_info'] != '' && ! in_array( $labels['label_post_info'], $translation_texts ) ) {
4867
					$translation_texts[] = $labels['label_post_info'];
@@ 4866-4867 (lines=2) @@
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'];
4865
				}
4866
				if ( isset( $labels['label_post_info'] ) && $labels['label_post_info'] != '' && ! in_array( $labels['label_post_info'], $translation_texts ) ) {
4867
					$translation_texts[] = $labels['label_post_info'];
4868
				}
4869
				if ( isset( $labels['label_post_images'] ) && $labels['label_post_images'] != '' && ! in_array( $labels['label_post_images'], $translation_texts ) ) {
4870
					$translation_texts[] = $labels['label_post_images'];
@@ 4869-4870 (lines=2) @@
4866
				if ( isset( $labels['label_post_info'] ) && $labels['label_post_info'] != '' && ! in_array( $labels['label_post_info'], $translation_texts ) ) {
4867
					$translation_texts[] = $labels['label_post_info'];
4868
				}
4869
				if ( isset( $labels['label_post_images'] ) && $labels['label_post_images'] != '' && ! in_array( $labels['label_post_images'], $translation_texts ) ) {
4870
					$translation_texts[] = $labels['label_post_images'];
4871
				}
4872
				if ( isset( $labels['label_post_map'] ) && $labels['label_post_map'] != '' && ! in_array( $labels['label_post_map'], $translation_texts ) ) {
4873
					$translation_texts[] = $labels['label_post_map'];
@@ 4872-4873 (lines=2) @@
4869
				if ( isset( $labels['label_post_images'] ) && $labels['label_post_images'] != '' && ! in_array( $labels['label_post_images'], $translation_texts ) ) {
4870
					$translation_texts[] = $labels['label_post_images'];
4871
				}
4872
				if ( isset( $labels['label_post_map'] ) && $labels['label_post_map'] != '' && ! in_array( $labels['label_post_map'], $translation_texts ) ) {
4873
					$translation_texts[] = $labels['label_post_map'];
4874
				}
4875
				if ( isset( $labels['label_reviews'] ) && $labels['label_reviews'] != '' && ! in_array( $labels['label_reviews'], $translation_texts ) ) {
4876
					$translation_texts[] = $labels['label_reviews'];
@@ 4875-4876 (lines=2) @@
4872
				if ( isset( $labels['label_post_map'] ) && $labels['label_post_map'] != '' && ! in_array( $labels['label_post_map'], $translation_texts ) ) {
4873
					$translation_texts[] = $labels['label_post_map'];
4874
				}
4875
				if ( isset( $labels['label_reviews'] ) && $labels['label_reviews'] != '' && ! in_array( $labels['label_reviews'], $translation_texts ) ) {
4876
					$translation_texts[] = $labels['label_reviews'];
4877
				}
4878
				if ( isset( $labels['label_related_listing'] ) && $labels['label_related_listing'] != '' && ! in_array( $labels['label_related_listing'], $translation_texts ) ) {
4879
					$translation_texts[] = $labels['label_related_listing'];
@@ 4878-4879 (lines=2) @@
4875
				if ( isset( $labels['label_reviews'] ) && $labels['label_reviews'] != '' && ! in_array( $labels['label_reviews'], $translation_texts ) ) {
4876
					$translation_texts[] = $labels['label_reviews'];
4877
				}
4878
				if ( isset( $labels['label_related_listing'] ) && $labels['label_related_listing'] != '' && ! in_array( $labels['label_related_listing'], $translation_texts ) ) {
4879
					$translation_texts[] = $labels['label_related_listing'];
4880
				}
4881
			}
4882
@@ 4888-4889 (lines=2) @@
4885
			}
4886
4887
			if ( ! empty( $seo ) ) {
4888
				if ( isset( $seo['meta_keyword'] ) && $seo['meta_keyword'] != '' && ! in_array( $seo['meta_keyword'], $translation_texts ) ) {
4889
					$translation_texts[] = normalize_whitespace( $seo['meta_keyword'] );
4890
				}
4891
4892
				if ( isset( $seo['meta_description'] ) && $seo['meta_description'] != '' && ! in_array( $seo['meta_description'], $translation_texts ) ) {
@@ 4892-4893 (lines=2) @@
4889
					$translation_texts[] = normalize_whitespace( $seo['meta_keyword'] );
4890
				}
4891
4892
				if ( isset( $seo['meta_description'] ) && $seo['meta_description'] != '' && ! in_array( $seo['meta_description'], $translation_texts ) ) {
4893
					$translation_texts[] = normalize_whitespace( $seo['meta_description'] );
4894
				}
4895
			}
4896
		}