Code Duplication    Length = 11-11 lines in 2 locations

classes/PodsInit.php 2 locations

@@ 675-685 (lines=11) @@
672
				$_taxonomies    = array_merge_recursive( $_taxonomies, $pods_taxonomies );
673
				$ignore         = array( 'nav_menu', 'link_category', 'post_format' );
674
675
				foreach ( $_taxonomies as $taxonomy => $label ) {
676
					if ( in_array( $taxonomy, $ignore ) ) {
677
						continue;
678
					}
679
680
					if ( false !== (boolean) pods_var( 'built_in_taxonomies_' . $taxonomy, $post_type, false ) ) {
681
						$cpt_taxonomies[] = $taxonomy;
682
683
						if ( isset( $supported_post_types[ $taxonomy ] ) && ! in_array( $post_type_name, $supported_post_types[ $taxonomy ] ) ) {
684
							$supported_post_types[ $taxonomy ][] = $post_type_name;
685
						}
686
					}
687
				}
688
@@ 832-842 (lines=11) @@
829
				$_post_types   = array_merge_recursive( $_post_types, $pods_post_types );
830
				$ignore        = array( 'revision' );
831
832
				foreach ( $_post_types as $post_type => $options ) {
833
					if ( in_array( $post_type, $ignore ) ) {
834
						continue;
835
					}
836
837
					if ( false !== (boolean) pods_var( 'built_in_post_types_' . $post_type, $taxonomy, false ) ) {
838
						$ct_post_types[] = $post_type;
839
840
						if ( isset( $supported_taxonomies[ $post_type ] ) && ! in_array( $taxonomy_name, $supported_taxonomies[ $post_type ] ) ) {
841
							$supported_taxonomies[ $post_type ][] = $taxonomy_name;
842
						}
843
					}
844
				}
845