Code Duplication    Length = 11-11 lines in 2 locations

classes/PodsInit.php 2 locations

@@ 599-609 (lines=11) @@
596
				$_taxonomies    = array_merge_recursive( $_taxonomies, $pods_taxonomies );
597
				$ignore         = array( 'nav_menu', 'link_category', 'post_format' );
598
599
				foreach ( $_taxonomies as $taxonomy => $label ) {
600
					if ( in_array( $taxonomy, $ignore ) ) {
601
						continue;
602
					}
603
604
					if ( false !== (boolean) pods_var( 'built_in_taxonomies_' . $taxonomy, $post_type, false ) ) {
605
						$cpt_taxonomies[] = $taxonomy;
606
607
						if ( isset( $supported_post_types[ $taxonomy ] ) && ! in_array( $post_type_name, $supported_post_types[ $taxonomy ] ) ) {
608
							$supported_post_types[ $taxonomy ][] = $post_type_name;
609
						}
610
					}
611
				}
612
@@ 705-715 (lines=11) @@
702
				$_post_types   = array_merge_recursive( $_post_types, $pods_post_types );
703
				$ignore        = array( 'revision' );
704
705
				foreach ( $_post_types as $post_type => $options ) {
706
					if ( in_array( $post_type, $ignore ) ) {
707
						continue;
708
					}
709
710
					if ( false !== (boolean) pods_var( 'built_in_post_types_' . $post_type, $taxonomy, false ) ) {
711
						$ct_post_types[] = $post_type;
712
713
						if ( isset( $supported_taxonomies[ $post_type ] ) && ! in_array( $taxonomy_name, $supported_taxonomies[ $post_type ] ) ) {
714
							$supported_taxonomies[ $post_type ][] = $taxonomy_name;
715
						}
716
					}
717
				}
718