Code Duplication    Length = 11-11 lines in 2 locations

classes/PodsInit.php 2 locations

@@ 631-641 (lines=11) @@
628
				$_taxonomies    = array_merge_recursive( $_taxonomies, $pods_taxonomies );
629
				$ignore         = array( 'nav_menu', 'link_category', 'post_format' );
630
631
				foreach ( $_taxonomies as $taxonomy => $label ) {
632
					if ( in_array( $taxonomy, $ignore ) ) {
633
						continue;
634
					}
635
636
					if ( false !== (boolean) pods_var( 'built_in_taxonomies_' . $taxonomy, $post_type, false ) ) {
637
						$cpt_taxonomies[] = $taxonomy;
638
639
						if ( isset( $supported_post_types[ $taxonomy ] ) && ! in_array( $post_type_name, $supported_post_types[ $taxonomy ] ) ) {
640
							$supported_post_types[ $taxonomy ][] = $post_type_name;
641
						}
642
					}
643
				}
644
@@ 774-784 (lines=11) @@
771
				$_post_types   = array_merge_recursive( $_post_types, $pods_post_types );
772
				$ignore        = array( 'revision' );
773
774
				foreach ( $_post_types as $post_type => $options ) {
775
					if ( in_array( $post_type, $ignore ) ) {
776
						continue;
777
					}
778
779
					if ( false !== (boolean) pods_var( 'built_in_post_types_' . $post_type, $taxonomy, false ) ) {
780
						$ct_post_types[] = $post_type;
781
782
						if ( isset( $supported_taxonomies[ $post_type ] ) && ! in_array( $taxonomy_name, $supported_taxonomies[ $post_type ] ) ) {
783
							$supported_taxonomies[ $post_type ][] = $taxonomy_name;
784
						}
785
					}
786
				}
787