wp_get_archives() cleanup.

git-svn-id: https://develop.svn.wordpress.org/trunk@3878 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2006-06-15 20:28:47 +00:00
parent 96bf8e3ce1
commit 718e9ebd27
2 changed files with 15 additions and 19 deletions

View File

@@ -470,4 +470,9 @@ function wp_set_post_cats($blogid = '1', $post_ID = 0, $post_categories = array(
return wp_set_post_categories($post_ID, $post_categories);
}
function get_archives($type='', $limit='', $format='html', $before = '', $after = '', $show_post_count = false) {
$args = compact('type', 'limit', 'format', 'before', 'after', 'show_post_count');
return wp_get_archives($args);
}
?>