WordPress.org

Make WordPress Core

Changeset 47100


Ignore:
Timestamp:
01/22/2020 12:20:21 AM (11 months ago)
Author:
SergeyBiryukov
Message:

Docs: Adjust @return value of parent_dropdown() for consistency with other dropdown functions.

See #48303.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/template.php

    r47093 r47100  
    888888 * @param int|WP_Post $post    Post ID or WP_Post object.
    889889 *
    890  * @return null|false Boolean False if page has no children, otherwise print out html elements.
     890 * @return void|false HTML dropdown list of page parents on success,
     891 *                    false if the page has no children.
    891892 */
    892893function parent_dropdown( $default = 0, $parent = 0, $level = 0, $post = null ) {
Note: See TracChangeset for help on using the changeset viewer.