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