WordPress.org

Make WordPress Core

Changeset 47102


Ignore:
Timestamp:
01/22/2020 12:31:17 AM (10 months ago)
Author:
SergeyBiryukov
Message:

Docs: Correct @return value for parent_dropdown().

Follow-up to [47100].

See #48303.

File:
1 edited

Legend:

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

    r47100 r47102  
    887887 * @param int         $level   Optional. Page depth level. Default 0.
    888888 * @param int|WP_Post $post    Post ID or WP_Post object.
    889  *
    890  * @return void|false HTML dropdown list of page parents on success,
    891  *                    false if the page has no children.
     889 * @return void|false Void on success, false if the page has no children.
    892890 */
    893891function parent_dropdown( $default = 0, $parent = 0, $level = 0, $post = null ) {
Note: See TracChangeset for help on using the changeset viewer.