Make WordPress Core


Ignore:
Timestamp:
02/07/2005 07:37:53 AM (21 years ago)
Author:
saxmatt
Message:

Remove querystring variable legacy code

File:
1 edited

Legend:

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

    r2227 r2239  
    124124
    125125function get_author_link($echo = false, $author_id, $author_nicename) {
    126     global $wpdb, $wp_rewrite, $post, $querystring_start, $querystring_equal, $cache_userdata;
     126    global $wpdb, $wp_rewrite, $post, $cache_userdata;
    127127    $auth_ID = $author_id;
    128128    $link = $wp_rewrite->get_author_permastruct();
     
    130130    if (empty($link)) {
    131131        $file = get_settings('home') . '/';
    132         $link = $file.$querystring_start.'author'.$querystring_equal.$auth_ID;
     132        $link = $file . '?author=' . .$auth_ID;
    133133    } else {
    134134        if ('' == $author_nicename) $author_nicename = $cache_userdata[$author_id]->author_nicename;
Note: See TracChangeset for help on using the changeset viewer.