Code Duplication    Length = 11-11 lines in 2 locations

classes/PodsInit.php 2 locations

@@ 589-599 (lines=11) @@
586
				$_taxonomies    = array_merge_recursive( $_taxonomies, $pods_taxonomies );
587
				$ignore         = array( 'nav_menu', 'link_category', 'post_format' );
588
589
				foreach ( $_taxonomies as $taxonomy => $label ) {
590
					if ( in_array( $taxonomy, $ignore ) ) {
591
						continue;
592
					}
593
594
					if ( false !== (boolean) pods_var( 'built_in_taxonomies_' . $taxonomy, $post_type, false ) ) {
595
						$cpt_taxonomies[] = $taxonomy;
596
597
						if ( isset( $supported_post_types[ $taxonomy ] ) && ! in_array( $post_type_name, $supported_post_types[ $taxonomy ] ) ) {
598
							$supported_post_types[ $taxonomy ][] = $post_type_name;
599
						}
600
					}
601
				}
602
@@ 718-728 (lines=11) @@
715
				$_post_types   = array_merge_recursive( $_post_types, $pods_post_types );
716
				$ignore        = array( 'revision' );
717
718
				foreach ( $_post_types as $post_type => $options ) {
719
					if ( in_array( $post_type, $ignore ) ) {
720
						continue;
721
					}
722
723
					if ( false !== (boolean) pods_var( 'built_in_post_types_' . $post_type, $taxonomy, false ) ) {
724
						$ct_post_types[] = $post_type;
725
726
						if ( isset( $supported_taxonomies[ $post_type ] ) && ! in_array( $taxonomy_name, $supported_taxonomies[ $post_type ] ) ) {
727
							$supported_taxonomies[ $post_type ][] = $taxonomy_name;
728
						}
729
					}
730
				}
731