Use the correct hash notation syntax for the get_pages() DocBlock.

See #28298.

Built from https://develop.svn.wordpress.org/trunk@30723


git-svn-id: http://core.svn.wordpress.org/trunk@30713 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Drew Jaynes 2014-12-03 10:16:23 +00:00
parent 8df7115760
commit 68ed7af808
2 changed files with 27 additions and 27 deletions

View File

@ -4389,33 +4389,33 @@ function get_page_uri( $page ) {
*
* @since 1.5.0
*
* @param mixed $args {
* Array or string of arguments. Optional.
* @param array|string $args {
* Optional. Array or string of arguments to retrieve pages.
*
* @type int 'child_of' Page ID to return child and grandchild pages of. Default 0, or no restriction.
* @type string 'sort_order' How to sort retrieved pages.
* Default 'ASC'. Accepts 'ASC', 'DESC'.
* @type string 'sort_column' What columns to sort pages by, comma-separated.
* Default 'post_title'. Accepts 'post_author', 'post_date', 'post_title', 'post_name',
* 'post_modified', 'post_modified_gmt', 'menu_order', 'post_parent', 'ID', 'rand',
* 'comment_count'. 'post_' can be omitted for any values that start with it.
* @type bool 'hierarchical' Whether to return pages hierarchically. Default true.
* @type array 'exclude' Array of page IDs to exclude.
* @type array 'include' Array of page IDs to include. Cannot be used with 'child_of', 'parent', 'exclude',
* 'meta_key', 'meta_value', or 'hierarchical'.
* @type string 'meta_key' Only include pages with this meta key.
* @type string 'meta_value' Only include pages with this meta value.
* @type string 'authors' A comma-separated list of author IDs.
* @type int 'parent' Page ID to return direct children of. 'hierarchical' must be false.
* Default -1, or no restriction.
* @type int 'exclude_tree' Remove all children of the given ID from returned pages.
* @type int 'number' The number of pages to return. Default 0, or all pages.
* @type int 'offset' The number of pages to skip before returning. Requires 'number'.
* Default 0.
* @type string 'post_type' The post type to query.
* Default 'page'.
* @type string 'post_status' A comma-separated list of post status types to include.
* Default 'publish'.
* @type int $child_of Page ID to return child and grandchild pages of. Default 0, or no restriction.
* @type string $sort_order How to sort retrieved pages.
* Default 'ASC'. Accepts 'ASC', 'DESC'.
* @type string $sort_column What columns to sort pages by, comma-separated.
* Default 'post_title'. Accepts 'post_author', 'post_date', 'post_title', 'post_name',
* 'post_modified', 'post_modified_gmt', 'menu_order', 'post_parent', 'ID', 'rand',
* 'comment_count'. 'post_' can be omitted for any values that start with it.
* @type bool $hierarchical Whether to return pages hierarchically. Default true.
* @type array $exclude Array of page IDs to exclude.
* @type array $include Array of page IDs to include. Cannot be used with 'child_of', 'parent', 'exclude',
* 'meta_key', 'meta_value', or 'hierarchical'.
* @type string $meta_key Only include pages with this meta key.
* @type string $meta_value Only include pages with this meta value.
* @type string $authors A comma-separated list of author IDs.
* @type int $parent Page ID to return direct children of. 'hierarchical' must be false.
* Default -1, or no restriction.
* @type int $exclude_tree Remove all children of the given ID from returned pages.
* @type int $number The number of pages to return. Default 0, or all pages.
* @type int $offset The number of pages to skip before returning. Requires 'number'.
* Default 0.
* @type string $post_type The post type to query.
* Default 'page'.
* @type string $post_status A comma-separated list of post status types to include.
* Default 'publish'.
* }
* @return array List of pages matching defaults or $args.
*/

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.1-beta2-30722';
$wp_version = '4.1-beta2-30723';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.