|
@@ 658-668 (lines=11) @@
|
| 655 |
|
$_taxonomies = array_merge_recursive( $_taxonomies, $pods_taxonomies ); |
| 656 |
|
$ignore = array( 'nav_menu', 'link_category', 'post_format' ); |
| 657 |
|
|
| 658 |
|
foreach ( $_taxonomies as $taxonomy => $label ) { |
| 659 |
|
if ( in_array( $taxonomy, $ignore ) ) { |
| 660 |
|
continue; |
| 661 |
|
} |
| 662 |
|
|
| 663 |
|
if ( false !== (boolean) pods_var( 'built_in_taxonomies_' . $taxonomy, $post_type, false ) ) { |
| 664 |
|
$cpt_taxonomies[] = $taxonomy; |
| 665 |
|
|
| 666 |
|
if ( isset( $supported_post_types[ $taxonomy ] ) && ! in_array( $post_type_name, $supported_post_types[ $taxonomy ] ) ) { |
| 667 |
|
$supported_post_types[ $taxonomy ][] = $post_type_name; |
| 668 |
|
} |
| 669 |
|
} |
| 670 |
|
} |
| 671 |
|
|
|
@@ 801-811 (lines=11) @@
|
| 798 |
|
$_post_types = array_merge_recursive( $_post_types, $pods_post_types ); |
| 799 |
|
$ignore = array( 'revision' ); |
| 800 |
|
|
| 801 |
|
foreach ( $_post_types as $post_type => $options ) { |
| 802 |
|
if ( in_array( $post_type, $ignore ) ) { |
| 803 |
|
continue; |
| 804 |
|
} |
| 805 |
|
|
| 806 |
|
if ( false !== (boolean) pods_var( 'built_in_post_types_' . $post_type, $taxonomy, false ) ) { |
| 807 |
|
$ct_post_types[] = $post_type; |
| 808 |
|
|
| 809 |
|
if ( isset( $supported_taxonomies[ $post_type ] ) && ! in_array( $taxonomy_name, $supported_taxonomies[ $post_type ] ) ) { |
| 810 |
|
$supported_taxonomies[ $post_type ][] = $taxonomy_name; |
| 811 |
|
} |
| 812 |
|
} |
| 813 |
|
} |
| 814 |
|
|