Code Duplication    Length = 11-11 lines in 2 locations

classes/PodsInit.php 2 locations

@@ 628-638 (lines=11) @@
625
				$_taxonomies    = array_merge_recursive( $_taxonomies, $pods_taxonomies );
626
				$ignore         = array( 'nav_menu', 'link_category', 'post_format' );
627
628
				foreach ( $_taxonomies as $taxonomy => $label ) {
629
					if ( in_array( $taxonomy, $ignore ) ) {
630
						continue;
631
					}
632
633
					if ( false !== (boolean) pods_var( 'built_in_taxonomies_' . $taxonomy, $post_type, false ) ) {
634
						$cpt_taxonomies[] = $taxonomy;
635
636
						if ( isset( $supported_post_types[ $taxonomy ] ) && ! in_array( $post_type_name, $supported_post_types[ $taxonomy ] ) ) {
637
							$supported_post_types[ $taxonomy ][] = $post_type_name;
638
						}
639
					}
640
				}
641
@@ 765-775 (lines=11) @@
762
				$_post_types   = array_merge_recursive( $_post_types, $pods_post_types );
763
				$ignore        = array( 'revision' );
764
765
				foreach ( $_post_types as $post_type => $options ) {
766
					if ( in_array( $post_type, $ignore ) ) {
767
						continue;
768
					}
769
770
					if ( false !== (boolean) pods_var( 'built_in_post_types_' . $post_type, $taxonomy, false ) ) {
771
						$ct_post_types[] = $post_type;
772
773
						if ( isset( $supported_taxonomies[ $post_type ] ) && ! in_array( $taxonomy_name, $supported_taxonomies[ $post_type ] ) ) {
774
							$supported_taxonomies[ $post_type ][] = $taxonomy_name;
775
						}
776
					}
777
				}
778