From ec051cfb3ec43935a6e8984b3ad978409d644017 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 14 Nov 2020 15:01:13 +0000 Subject: [PATCH] Docs: Clarify that `get_pages()` returns an array of pages, not an HTML list. Props ben.meredith@gmail.com, ovenall, johannadevos. Fixes #39049. See #51768. Built from https://develop.svn.wordpress.org/trunk@49595 git-svn-id: http://core.svn.wordpress.org/trunk@49333 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/post.php | 4 ++-- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-includes/post.php b/wp-includes/post.php index 874d219684..2e1afdbf4a 100644 --- a/wp-includes/post.php +++ b/wp-includes/post.php @@ -5463,7 +5463,7 @@ function get_page_uri( $page = 0 ) { } /** - * Retrieve a list of pages (or hierarchical post type items). + * Retrieve an array of pages (or hierarchical post type items). * * @global wpdb $wpdb WordPress database abstraction object. * @@ -5502,7 +5502,7 @@ function get_page_uri( $page = 0 ) { * @type string|array $post_status A comma-separated list or array of post statuses to include. * Default 'publish'. * } - * @return array|false List of pages matching defaults or `$args`. + * @return array|false Array of pages matching defaults or `$args`. */ function get_pages( $args = array() ) { global $wpdb; diff --git a/wp-includes/version.php b/wp-includes/version.php index 056ff3416f..1bd8b9d4da 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.6-beta4-49594'; +$wp_version = '5.6-beta4-49595'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.