Code Duplication    Length = 11-11 lines in 2 locations

classes/PodsInit.php 2 locations

@@ 637-647 (lines=11) @@
634
				$_taxonomies    = array_merge_recursive( $_taxonomies, $pods_taxonomies );
635
				$ignore         = array( 'nav_menu', 'link_category', 'post_format' );
636
637
				foreach ( $_taxonomies as $taxonomy => $label ) {
638
					if ( in_array( $taxonomy, $ignore ) ) {
639
						continue;
640
					}
641
642
					if ( false !== (boolean) pods_var( 'built_in_taxonomies_' . $taxonomy, $post_type, false ) ) {
643
						$cpt_taxonomies[] = $taxonomy;
644
645
						if ( isset( $supported_post_types[ $taxonomy ] ) && ! in_array( $post_type_name, $supported_post_types[ $taxonomy ] ) ) {
646
							$supported_post_types[ $taxonomy ][] = $post_type_name;
647
						}
648
					}
649
				}
650
@@ 780-790 (lines=11) @@
777
				$_post_types   = array_merge_recursive( $_post_types, $pods_post_types );
778
				$ignore        = array( 'revision' );
779
780
				foreach ( $_post_types as $post_type => $options ) {
781
					if ( in_array( $post_type, $ignore ) ) {
782
						continue;
783
					}
784
785
					if ( false !== (boolean) pods_var( 'built_in_post_types_' . $post_type, $taxonomy, false ) ) {
786
						$ct_post_types[] = $post_type;
787
788
						if ( isset( $supported_taxonomies[ $post_type ] ) && ! in_array( $taxonomy_name, $supported_taxonomies[ $post_type ] ) ) {
789
							$supported_taxonomies[ $post_type ][] = $taxonomy_name;
790
						}
791
					}
792
				}
793