|
@@ 744-745 (lines=2) @@
|
| 741 |
|
$taxonomy = substr( $taxonomy, 0, 32 ); |
| 742 |
|
|
| 743 |
|
// i18n compatibility for plugins that override it |
| 744 |
|
if ( is_array( $options['rewrite'] ) && isset( $options['rewrite']['slug'] ) && ! empty( $options['rewrite']['slug'] ) ) { |
| 745 |
|
$options['rewrite']['slug'] = _x( $options['rewrite']['slug'], 'URL taxonomy slug', 'pods' ); |
| 746 |
|
} |
| 747 |
|
|
| 748 |
|
if ( 1 == pods_var( 'pods_debug_register', 'get', 0 ) && pods_is_admin( array( 'pods' ) ) ) { |
|
@@ 775-776 (lines=2) @@
|
| 772 |
|
$post_type = substr( $post_type, 0, 20 ); |
| 773 |
|
|
| 774 |
|
// i18n compatibility for plugins that override it |
| 775 |
|
if ( is_array( $options['rewrite'] ) && isset( $options['rewrite']['slug'] ) && ! empty( $options['rewrite']['slug'] ) ) { |
| 776 |
|
$options['rewrite']['slug'] = _x( $options['rewrite']['slug'], 'URL slug', 'pods' ); |
| 777 |
|
} |
| 778 |
|
|
| 779 |
|
if ( 1 == pods_var( 'pods_debug_register', 'get', 0 ) && pods_is_admin( array( 'pods' ) ) ) { |