mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
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:
parent
e1906ab3f1
commit
b0bcea2a18
@ -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.
|
||||
|
@ -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.
|
||||
*
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user