Deprecate link_pages(). Clean up wp_link_pages().

git-svn-id: https://develop.svn.wordpress.org/trunk@4142 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2006-08-30 21:00:37 +00:00
parent 6c77b22cb8
commit 64fb5cb109
2 changed files with 33 additions and 32 deletions
+5
View File
@@ -486,4 +486,9 @@ function get_author_link($echo = false, $author_id, $author_nicename = '') {
return $link;
}
function link_pages($before='<br />', $after='<br />', $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);
}
?>