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