|
@@ 908-909 (lines=2) @@
|
| 905 |
|
$taxonomy = substr( $taxonomy, 0, 32 ); |
| 906 |
|
|
| 907 |
|
// i18n compatibility for plugins that override it |
| 908 |
|
if ( is_array( $options['rewrite'] ) && isset( $options['rewrite']['slug'] ) && ! empty( $options['rewrite']['slug'] ) ) { |
| 909 |
|
$options['rewrite']['slug'] = _x( $options['rewrite']['slug'], 'URL taxonomy slug', 'pods' ); |
| 910 |
|
} |
| 911 |
|
|
| 912 |
|
/** |
|
@@ 958-959 (lines=2) @@
|
| 955 |
|
$post_type = substr( $post_type, 0, 20 ); |
| 956 |
|
|
| 957 |
|
// i18n compatibility for plugins that override it |
| 958 |
|
if ( is_array( $options['rewrite'] ) && isset( $options['rewrite']['slug'] ) && ! empty( $options['rewrite']['slug'] ) ) { |
| 959 |
|
$options['rewrite']['slug'] = _x( $options['rewrite']['slug'], 'URL slug', 'pods' ); |
| 960 |
|
} |
| 961 |
|
|
| 962 |
|
/** |