@@ 851-852 (lines=2) @@ | ||
848 | $taxonomy = substr( $taxonomy, 0, 32 ); |
|
849 | ||
850 | // i18n compatibility for plugins that override it |
|
851 | if ( is_array( $options['rewrite'] ) && isset( $options['rewrite']['slug'] ) && ! empty( $options['rewrite']['slug'] ) ) { |
|
852 | $options['rewrite']['slug'] = _x( $options['rewrite']['slug'], 'URL taxonomy slug', 'pods' ); |
|
853 | } |
|
854 | ||
855 | if ( 1 == pods_var( 'pods_debug_register', 'get', 0 ) && pods_is_admin( array( 'pods' ) ) ) { |
|
@@ 882-883 (lines=2) @@ | ||
879 | $post_type = substr( $post_type, 0, 20 ); |
|
880 | ||
881 | // i18n compatibility for plugins that override it |
|
882 | if ( is_array( $options['rewrite'] ) && isset( $options['rewrite']['slug'] ) && ! empty( $options['rewrite']['slug'] ) ) { |
|
883 | $options['rewrite']['slug'] = _x( $options['rewrite']['slug'], 'URL slug', 'pods' ); |
|
884 | } |
|
885 | ||
886 | if ( 1 == pods_var( 'pods_debug_register', 'get', 0 ) && pods_is_admin( array( 'pods' ) ) ) { |