From 2c4a4ac4553b30c3856ab3f04c53b94528c13156 Mon Sep 17 00:00:00 2001 From: ryan Date: Fri, 28 Jul 2006 10:50:35 +0000 Subject: [PATCH] Make nicename optional. git-svn-id: http://svn.automattic.com/wordpress/trunk@4057 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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();