Code Duplication    Length = 11-11 lines in 2 locations

classes/PodsInit.php 2 locations

@@ 593-603 (lines=11) @@
590
				$_taxonomies    = array_merge_recursive( $_taxonomies, $pods_taxonomies );
591
				$ignore         = array( 'nav_menu', 'link_category', 'post_format' );
592
593
				foreach ( $_taxonomies as $taxonomy => $label ) {
594
					if ( in_array( $taxonomy, $ignore ) ) {
595
						continue;
596
					}
597
598
					if ( false !== (boolean) pods_var( 'built_in_taxonomies_' . $taxonomy, $post_type, false ) ) {
599
						$cpt_taxonomies[] = $taxonomy;
600
601
						if ( isset( $supported_post_types[ $taxonomy ] ) && ! in_array( $post_type_name, $supported_post_types[ $taxonomy ] ) ) {
602
							$supported_post_types[ $taxonomy ][] = $post_type_name;
603
						}
604
					}
605
				}
606
@@ 699-709 (lines=11) @@
696
				$_post_types   = array_merge_recursive( $_post_types, $pods_post_types );
697
				$ignore        = array( 'revision' );
698
699
				foreach ( $_post_types as $post_type => $options ) {
700
					if ( in_array( $post_type, $ignore ) ) {
701
						continue;
702
					}
703
704
					if ( false !== (boolean) pods_var( 'built_in_post_types_' . $post_type, $taxonomy, false ) ) {
705
						$ct_post_types[] = $post_type;
706
707
						if ( isset( $supported_taxonomies[ $post_type ] ) && ! in_array( $taxonomy_name, $supported_taxonomies[ $post_type ] ) ) {
708
							$supported_taxonomies[ $post_type ][] = $taxonomy_name;
709
						}
710
					}
711
				}
712