Code Duplication    Length = 11-11 lines in 2 locations

classes/PodsInit.php 2 locations

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