@@ 2710-2712 (lines=3) @@ | ||
2707 | ); |
|
2708 | ||
2709 | $pod_data = array_merge( $this->api->get_table_info( $traverse_recurse[ 'pod' ], '' ), $pod_data ); |
|
2710 | } elseif ( 'taxonomy' == $pod_data['type'] && 'none' == $pod_data['storage'] && function_exists( 'get_term_meta' ) ) { |
|
2711 | $pod_data['storage'] = 'meta'; |
|
2712 | } |
|
2713 | ||
2714 | $traverse_recurse[ 'pod' ] = $pod_data[ 'name' ]; |
|
2715 | } |
@@ 1731-1736 (lines=6) @@ | ||
1728 | if ( 'pod' == $pod[ 'type' ] ) |
|
1729 | $pod[ 'type' ] = 'post_type'; |
|
1730 | ||
1731 | if ( 'table' == $pod[ 'storage' ] ) { |
|
1732 | if ( 'taxonomy' == $pod[ 'type' ] && ! function_exists( 'get_term_meta' ) ) |
|
1733 | $pod[ 'storage' ] = 'none'; |
|
1734 | else |
|
1735 | $pod[ 'storage' ] = 'meta'; |
|
1736 | } |
|
1737 | } |
|
1738 | ||
1739 | $pod[ 'options' ][ 'type' ] = $pod[ 'type' ]; |
|
@@ 5612-5614 (lines=3) @@ | ||
5609 | $pod = array_merge( $this->get_table_info( $pod[ 'type' ], $pod[ 'object' ], $pod[ 'name' ], $pod ), $pod ); |
|
5610 | ||
5611 | // Override old 'none' storage type |
|
5612 | if ( 'taxonomy' == $pod['type'] && 'none' == $pod['storage'] && function_exists( 'get_term_meta' ) ) { |
|
5613 | $pod[ 'storage' ] = 'meta'; |
|
5614 | } |
|
5615 | ||
5616 | if ( isset( $pod[ 'pod' ] ) ) |
|
5617 | unset( $pod[ 'pod' ] ); |