Make WordPress Core

Ticket #11061: 11061.diff

File 11061.diff, 593 bytes (added by scribu, 14 years ago)

remove double slash

  • wp-includes/taxonomy.php

     
    22242224                        $termlink = "$file?taxonomy=$taxonomy&term=$slug";
    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);
    22302230}