WordPress.org

Make WordPress Core

Changeset 12241


Ignore:
Timestamp:
11/20/09 14:23:41 (6 years ago)
Author:
ryan
Message:

Fix double slashing. Props scribu. fixes #11061

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/taxonomy.php

    r12229 r12241  
    22252225    } else { 
    22262226        $termlink = str_replace("%$taxonomy%", $slug, $termlink); 
    2227         $termlink = trailingslashit( get_option('home') ) . user_trailingslashit($termlink, 'category'); 
     2227        $termlink = get_option('home') . user_trailingslashit($termlink, 'category'); 
    22282228    } 
    22292229    return apply_filters('term_link', $termlink, $term, $taxonomy); 
Note: See TracChangeset for help on using the changeset viewer.