From 8295b56d9c442c8370ef210a5b37722ee33aa415 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 22 Jan 2020 00:31:17 +0000 Subject: [PATCH] Docs: Correct `@return` value for `parent_dropdown()`. Follow-up to [47100]. See #48303. git-svn-id: https://develop.svn.wordpress.org/trunk@47102 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/template.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/wp-admin/includes/template.php b/src/wp-admin/includes/template.php index 22f6c2f6f8..3ed611d0c4 100644 --- a/src/wp-admin/includes/template.php +++ b/src/wp-admin/includes/template.php @@ -886,9 +886,7 @@ function page_template_dropdown( $default = '', $post_type = 'page' ) { * @param int $parent Optional. The parent page ID. Default 0. * @param int $level Optional. Page depth level. Default 0. * @param int|WP_Post $post Post ID or WP_Post object. - * - * @return void|false HTML dropdown list of page parents on success, - * false if the page has no children. + * @return void|false Void on success, false if the page has no children. */ function parent_dropdown( $default = 0, $parent = 0, $level = 0, $post = null ) { global $wpdb;