Make WordPress Core


Ignore:
Timestamp:
01/04/2008 07:36:34 PM (19 years ago)
Author:
ryan
Message:

Unused var cleanup. Props DD32. see #5418

File:
1 edited

Legend:

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

    r6415 r6551  
    3333        switch ( strtolower($mode) ) {
    3434                case 'title':
    35                         $title = sanitize_title($post->post_title) . '-' . $id;
     35                        $title = sanitize_title($post->post_title) . '-' . $post->ID;
    3636                        echo '<a id="'.$title.'"></a>';
    3737                        break;
    … …  
    317317                $link = get_option('home') . '?feed=rss2&amp;author=' . $author_id;
    318318        } else {
    319                 $link = get_author_posts_url($author_id, $author_nicename);
     319                $link = get_author_posts_url($author_id);
    320320                $link = trailingslashit($link) . user_trailingslashit('feed', 'feed');
    321321        }
Note: See TracChangeset for help on using the changeset viewer.