|
@@ 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 |
|
|
|
@@ 725-735 (lines=11) @@
|
| 722 |
|
$_post_types = array_merge_recursive( $_post_types, $pods_post_types ); |
| 723 |
|
$ignore = array( 'revision' ); |
| 724 |
|
|
| 725 |
|
foreach ( $_post_types as $post_type => $options ) { |
| 726 |
|
if ( in_array( $post_type, $ignore ) ) { |
| 727 |
|
continue; |
| 728 |
|
} |
| 729 |
|
|
| 730 |
|
if ( false !== (boolean) pods_var( 'built_in_post_types_' . $post_type, $taxonomy, false ) ) { |
| 731 |
|
$ct_post_types[] = $post_type; |
| 732 |
|
|
| 733 |
|
if ( isset( $supported_taxonomies[ $post_type ] ) && ! in_array( $taxonomy_name, $supported_taxonomies[ $post_type ] ) ) { |
| 734 |
|
$supported_taxonomies[ $post_type ][] = $taxonomy_name; |
| 735 |
|
} |
| 736 |
|
} |
| 737 |
|
} |
| 738 |
|
|