Make WordPress Core


Ignore:
Timestamp:
01/19/2009 05:04:58 AM (16 years ago)
Author:
azaozz
Message:

Add support for automatic feed links in themes, props Viper007Bond, see #8878

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/link-template.php

    r10361 r10377  
    508508
    509509    if ( '' == $permalink_structure ) {
    510         $link = get_option('home') . "?feed=$feed&cat=" . $cat_id;
     510        $link = trailingslashit( get_option('home') ) . "?feed=$feed&cat=" . $cat_id;
    511511    } else {
    512512        $link = get_category_link($cat_id);
Note: See TracChangeset for help on using the changeset viewer.