|
@@ 773-774 (lines=2) @@
|
| 770 |
|
$taxonomy = substr( $taxonomy, 0, 32 ); |
| 771 |
|
|
| 772 |
|
// i18n compatibility for plugins that override it |
| 773 |
|
if ( is_array( $options['rewrite'] ) && isset( $options['rewrite']['slug'] ) && ! empty( $options['rewrite']['slug'] ) ) { |
| 774 |
|
$options['rewrite']['slug'] = _x( $options['rewrite']['slug'], 'URL taxonomy slug', 'pods' ); |
| 775 |
|
} |
| 776 |
|
|
| 777 |
|
if ( 1 == pods_var( 'pods_debug_register', 'get', 0 ) && pods_is_admin( array( 'pods' ) ) ) { |
|
@@ 804-805 (lines=2) @@
|
| 801 |
|
$post_type = substr( $post_type, 0, 20 ); |
| 802 |
|
|
| 803 |
|
// i18n compatibility for plugins that override it |
| 804 |
|
if ( is_array( $options['rewrite'] ) && isset( $options['rewrite']['slug'] ) && ! empty( $options['rewrite']['slug'] ) ) { |
| 805 |
|
$options['rewrite']['slug'] = _x( $options['rewrite']['slug'], 'URL slug', 'pods' ); |
| 806 |
|
} |
| 807 |
|
|
| 808 |
|
if ( 1 == pods_var( 'pods_debug_register', 'get', 0 ) && pods_is_admin( array( 'pods' ) ) ) { |