@@ 847-848 (lines=2) @@ | ||
844 | $taxonomy = substr( $taxonomy, 0, 32 ); |
|
845 | ||
846 | // i18n compatibility for plugins that override it |
|
847 | if ( is_array( $options['rewrite'] ) && isset( $options['rewrite']['slug'] ) && ! empty( $options['rewrite']['slug'] ) ) { |
|
848 | $options['rewrite']['slug'] = _x( $options['rewrite']['slug'], 'URL taxonomy slug', 'pods' ); |
|
849 | } |
|
850 | ||
851 | if ( 1 == pods_var( 'pods_debug_register', 'get', 0 ) && pods_is_admin( array( 'pods' ) ) ) { |
|
@@ 878-879 (lines=2) @@ | ||
875 | $post_type = substr( $post_type, 0, 20 ); |
|
876 | ||
877 | // i18n compatibility for plugins that override it |
|
878 | if ( is_array( $options['rewrite'] ) && isset( $options['rewrite']['slug'] ) && ! empty( $options['rewrite']['slug'] ) ) { |
|
879 | $options['rewrite']['slug'] = _x( $options['rewrite']['slug'], 'URL slug', 'pods' ); |
|
880 | } |
|
881 | ||
882 | if ( 1 == pods_var( 'pods_debug_register', 'get', 0 ) && pods_is_admin( array( 'pods' ) ) ) { |