From b764f60728be1d4e026f9d7ae618ab47e23322f8 Mon Sep 17 00:00:00 2001 From: donncha Date: Thu, 31 Aug 2006 14:55:29 +0000 Subject: WP Merge to rev #4147 git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@729 7be80a69-a1ef-0310-a953-fb0f7c49ff36 --- wp-includes/deprecated.php | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'wp-includes/deprecated.php') diff --git a/wp-includes/deprecated.php b/wp-includes/deprecated.php index bd8d21a..b75e07a 100644 --- a/wp-includes/deprecated.php +++ b/wp-includes/deprecated.php @@ -477,4 +477,22 @@ function get_archives($type='', $limit='', $format='html', $before = '', $after return wp_get_archives($args); } +// Deprecated. Use get_author_posts_url(). +function get_author_link($echo = false, $author_id, $author_nicename = '') { + $link = get_author_posts_url($author_id, $author_nicename); + + if ( $echo ) + echo $link; + return $link; +} + +function link_pages($before='
', $after='
', $next_or_number='number', $nextpagelink='next page', $previouspagelink='previous page', $pagelink='%', $more_file='') { + $args = compact('before', 'after', 'next_or_number', 'nextpagelink', 'previouspagelink', 'pagelink', 'more_file'); + return wp_link_pages($args); +} + +function get_settings($option) { + return get_option($option); +} + ?> -- cgit