From eb513c5ac8ea64063ee1e5f347056cc5f5cb0952 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 22 Jan 2020 00:22:03 +0000 Subject: [PATCH] Docs: Adjust `@return` value of `parent_dropdown()` for consistency with other dropdown functions. See #48303. Built from https://develop.svn.wordpress.org/trunk@47100 git-svn-id: http://core.svn.wordpress.org/trunk@46900 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/template.php | 3 ++- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php index 116d8dd464..22f6c2f6f8 100644 --- a/wp-admin/includes/template.php +++ b/wp-admin/includes/template.php @@ -887,7 +887,8 @@ function page_template_dropdown( $default = '', $post_type = 'page' ) { * @param int $level Optional. Page depth level. Default 0. * @param int|WP_Post $post Post ID or WP_Post object. * - * @return null|false Boolean False if page has no children, otherwise print out html elements. + * @return void|false HTML dropdown list of page parents on success, + * false if the page has no children. */ function parent_dropdown( $default = 0, $parent = 0, $level = 0, $post = null ) { global $wpdb; diff --git a/wp-includes/version.php b/wp-includes/version.php index 17f3527bd1..a09ce4b57a 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.4-alpha-47099'; +$wp_version = '5.4-alpha-47100'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.