Docs: Correct `@return` value for `parent_dropdown()`.

Follow-up to [47100].

See #48303.
Built from https://develop.svn.wordpress.org/trunk@47102


git-svn-id: http://core.svn.wordpress.org/trunk@46902 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2020-01-22 00:33:04 +00:00
parent c3f9af4f00
commit cfa3dc8ee8
2 changed files with 2 additions and 4 deletions

View File

@ -886,9 +886,7 @@ function page_template_dropdown( $default = '', $post_type = 'page' ) {
* @param int $parent Optional. The parent page ID. Default 0. * @param int $parent Optional. The parent page ID. Default 0.
* @param int $level Optional. Page depth level. Default 0. * @param int $level Optional. Page depth level. Default 0.
* @param int|WP_Post $post Post ID or WP_Post object. * @param int|WP_Post $post Post ID or WP_Post object.
* * @return void|false Void on success, false if the page has no children.
* @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 ) { function parent_dropdown( $default = 0, $parent = 0, $level = 0, $post = null ) {
global $wpdb; global $wpdb;

View File

@ -13,7 +13,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '5.4-alpha-47101'; $wp_version = '5.4-alpha-47102';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.