|
@@ 694-695 (lines=2) @@
|
| 691 |
|
$taxonomy = substr( $taxonomy, 0, 32 ); |
| 692 |
|
|
| 693 |
|
// i18n compatibility for plugins that override it |
| 694 |
|
if ( is_array( $options[ 'rewrite' ] ) && isset( $options[ 'rewrite' ][ 'slug' ] ) && !empty( $options[ 'rewrite' ][ 'slug' ] ) ) |
| 695 |
|
$options[ 'rewrite' ][ 'slug' ] = _x( $options[ 'rewrite' ][ 'slug' ], 'URL taxonomy slug', 'pods' ); |
| 696 |
|
|
| 697 |
|
if ( 1 == pods_var( 'pods_debug_register', 'get', 0 ) && pods_is_admin( array( 'pods' ) ) ) |
| 698 |
|
pods_debug( array( $taxonomy, $ct_post_types, $options ) ); |
|
@@ 721-722 (lines=2) @@
|
| 718 |
|
$post_type = substr( $post_type, 0, 20 ); |
| 719 |
|
|
| 720 |
|
// i18n compatibility for plugins that override it |
| 721 |
|
if ( is_array( $options[ 'rewrite' ] ) && isset( $options[ 'rewrite' ][ 'slug' ] ) && !empty( $options[ 'rewrite' ][ 'slug' ] ) ) |
| 722 |
|
$options[ 'rewrite' ][ 'slug' ] = _x( $options[ 'rewrite' ][ 'slug' ], 'URL slug', 'pods' ); |
| 723 |
|
|
| 724 |
|
if ( 1 == pods_var( 'pods_debug_register', 'get', 0 ) && pods_is_admin( array( 'pods' ) ) ) |
| 725 |
|
pods_debug( array( $post_type, $options ) ); |