From 2e5a6f847b0d13929ae87f0c3c95f11b0c0567af Mon Sep 17 00:00:00 2001 From: Peter Westwood Date: Sun, 10 May 2009 09:00:18 +0000 Subject: [PATCH] Update phpdoc for get_pages() and fix bugs in previous commit. git-svn-id: https://develop.svn.wordpress.org/trunk@11252 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/post.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/post.php b/wp-includes/post.php index 937657621a..1dca39ba2f 100644 --- a/wp-includes/post.php +++ b/wp-includes/post.php @@ -2177,7 +2177,7 @@ function get_page_uri($page_id) { * * The defaults that can be overridden are the following: 'child_of', * 'sort_order', 'sort_column', 'post_title', 'hierarchical', 'exclude', - * 'include', 'meta_key', 'meta_value', and 'authors'. + * 'include', 'meta_key', 'meta_value','authors', 'number', and 'offset'. * * @since 1.5.0 * @uses $wpdb @@ -2194,7 +2194,7 @@ function &get_pages($args = '') { 'exclude' => '', 'include' => '', 'meta_key' => '', 'meta_value' => '', 'authors' => '', 'parent' => -1, 'exclude_tree' => '', - 'number' => '', offset => '0' + 'number' => '', 'offset' => 0 ); $r = wp_parse_args( $args, $defaults );