Make WordPress Core


Ignore:
Timestamp:
02/05/2008 06:47:27 AM (17 years ago)
Author:
ryan
Message:

Trailing whitespace cleanup

File:
1 edited

Legend:

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

    r6711 r6726  
    341341function get_category_feed_link($cat_id, $feed = '') {
    342342    $cat_id = (int) $cat_id;
    343    
     343
    344344    $category = get_category($cat_id);
    345    
     345
    346346    if ( empty($category) || is_wp_error($category) )
    347347        return false;
     
    360360        else
    361361            $feed_link = "feed/$feed";
    362        
     362
    363363        $link = trailingslashit($link) . user_trailingslashit($feed_link, 'feed');
    364364    }
    365365
    366366    $link = apply_filters('category_feed_link', $link, $feed);
    367    
     367
    368368    return $link;
    369369}
     
    403403    else
    404404        $search = attribute_escape(stripslashes($search_query));
    405    
     405
    406406    if ( empty($feed) )
    407407        $feed = get_default_feed();
    408    
     408
    409409    $link = get_option('home') . "?s=$search&feed=$feed";
    410    
     410
    411411    $link = apply_filters('search_feed_link', $link);
    412    
     412
    413413    return $link;
    414414}
     
    419419    else
    420420        $search = attribute_escape(stripslashes($search_query));
    421    
     421
    422422    if ( empty($feed) )
    423423        $feed = get_default_feed();
    424    
     424
    425425    $link = get_option('home') . "?s=$search&feed=comments-$feed";
    426    
     426
    427427    $link = apply_filters('search_feed_link', $link);
    428    
     428
    429429    return $link;
    430430}
Note: See TracChangeset for help on using the changeset viewer.