Changeset 2239 for trunk/wp-includes/template-functions-author.php
- Timestamp:
- 02/07/2005 07:37:53 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/template-functions-author.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/template-functions-author.php
r2227 r2239 124 124 125 125 function 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; 127 127 $auth_ID = $author_id; 128 128 $link = $wp_rewrite->get_author_permastruct(); … … 130 130 if (empty($link)) { 131 131 $file = get_settings('home') . '/'; 132 $link = $file .$querystring_start.'author'.$querystring_equal.$auth_ID;132 $link = $file . '?author=' . .$auth_ID; 133 133 } else { 134 134 if ('' == $author_nicename) $author_nicename = $cache_userdata[$author_id]->author_nicename;
Note: See TracChangeset
for help on using the changeset viewer.