Ticket #9193: taxonomy.patch
| File taxonomy.patch, 434 bytes (added by alexrabe, 4 years ago) |
|---|
-
taxonomy.php
2126 2126 $termlink = $wp_rewrite->get_extra_permastruct($taxonomy); 2127 2127 2128 2128 if ( !is_object($term) ) { 2129 if ( is_ int($term) ) {2129 if ( is_numeric($term) ) { 2130 2130 $term = &get_term($term, $taxonomy); 2131 2131 } else { 2132 2132 $term = &get_term_by('slug', $term, $taxonomy);
