Docs: Clarify that `wp_list_pages()` and `get_pages()` only work with hierarchical post types.

Props doublehhh.
Fixes #39369.
Built from https://develop.svn.wordpress.org/trunk@40027


git-svn-id: http://core.svn.wordpress.org/trunk@39964 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2017-01-29 10:59:42 +00:00
parent e1906ab3f1
commit b0bcea2a18
3 changed files with 3 additions and 3 deletions

View File

@ -1126,7 +1126,7 @@ function wp_dropdown_pages( $args = '' ) {
}
/**
* Retrieve or display list of pages in list (li) format.
* Retrieve or display list of pages (or hierarchical post type items) in list (li) format.
*
* @since 1.5.0
* @since 4.7.0 Added the `item_spacing` argument.

View File

@ -4471,7 +4471,7 @@ function get_page_uri( $page = 0 ) {
}
/**
* Retrieve a list of pages.
* Retrieve a list of pages (or hierarchical post type items).
*
* @global wpdb $wpdb WordPress database abstraction object.
*

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.8-alpha-40026';
$wp_version = '4.8-alpha-40027';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.