Changeset 12229 for trunk/wp-includes/taxonomy.php
- Timestamp:
- 11/19/2009 10:41:53 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/taxonomy.php
r12200 r12229 2217 2217 2218 2218 if ( empty($termlink) ) { 2219 $file = get_option('home') . '/';2219 $file = trailingslashit( get_option('home') ); 2220 2220 $t = get_taxonomy($taxonomy); 2221 2221 if ( $t->query_var ) … … 2225 2225 } else { 2226 2226 $termlink = str_replace("%$taxonomy%", $slug, $termlink); 2227 $termlink = get_option('home') . user_trailingslashit($termlink, 'category');2227 $termlink = trailingslashit( get_option('home') ) . user_trailingslashit($termlink, 'category'); 2228 2228 } 2229 2229 return apply_filters('term_link', $termlink, $term, $taxonomy);
Note: See TracChangeset
for help on using the changeset viewer.