summaryrefslogtreecommitdiffstats
path: root/wp-includes/deprecated.php
diff options
context:
space:
mode:
Diffstat (limited to 'wp-includes/deprecated.php')
-rw-r--r--wp-includes/deprecated.php18
1 files changed, 18 insertions, 0 deletions
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='<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);
+}
+
+function get_settings($option) {
+ return get_option($option);
+}
+
?>