From 85c2f38d41e739872456343c169056d897084fb4 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Fri, 28 Jul 2006 10:50:35 +0000 Subject: [PATCH] Make nicename optional. git-svn-id: https://develop.svn.wordpress.org/trunk@4057 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/author-template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/author-template.php b/wp-includes/author-template.php index 96b70b363e..7ca9d296fb 100644 --- a/wp-includes/author-template.php +++ b/wp-includes/author-template.php @@ -133,7 +133,7 @@ function the_author_posts_link($idmode='') { echo '' . the_author($idmode, false) . ''; } -function get_author_link($echo = false, $author_id, $author_nicename) { +function get_author_link($echo = false, $author_id, $author_nicename = '') { global $wpdb, $wp_rewrite, $post, $cache_userdata; $auth_ID = $author_id; $link = $wp_rewrite->get_author_permastruct();