|
@@ 795-796 (lines=2) @@
|
| 792 |
|
$taxonomy = substr( $taxonomy, 0, 32 ); |
| 793 |
|
|
| 794 |
|
// i18n compatibility for plugins that override it |
| 795 |
|
if ( is_array( $options['rewrite'] ) && isset( $options['rewrite']['slug'] ) && ! empty( $options['rewrite']['slug'] ) ) { |
| 796 |
|
$options['rewrite']['slug'] = _x( $options['rewrite']['slug'], 'URL taxonomy slug', 'pods' ); |
| 797 |
|
} |
| 798 |
|
|
| 799 |
|
if ( 1 == pods_var( 'pods_debug_register', 'get', 0 ) && pods_is_admin( array( 'pods' ) ) ) { |
|
@@ 826-827 (lines=2) @@
|
| 823 |
|
$post_type = substr( $post_type, 0, 20 ); |
| 824 |
|
|
| 825 |
|
// i18n compatibility for plugins that override it |
| 826 |
|
if ( is_array( $options['rewrite'] ) && isset( $options['rewrite']['slug'] ) && ! empty( $options['rewrite']['slug'] ) ) { |
| 827 |
|
$options['rewrite']['slug'] = _x( $options['rewrite']['slug'], 'URL slug', 'pods' ); |
| 828 |
|
} |
| 829 |
|
|
| 830 |
|
if ( 1 == pods_var( 'pods_debug_register', 'get', 0 ) && pods_is_admin( array( 'pods' ) ) ) { |