Make WordPress Core

Ticket #56330: 56330.patch

File 56330.patch, 766 bytes (added by jigar bhanushali, 2 years ago)

correction of function return type

  • src/wp-includes/post.php

    diff --git a/src/wp-includes/post.php b/src/wp-includes/post.php
    index df509fd114..57325af656 100644
    a b function get_page_uri( $page = 0 ) { 
    59715971 *     @type string|array $post_status  A comma-separated list or array of post statuses to include.
    59725972 *                                      Default 'publish'.
    59735973 * }
    5974  * @return WP_Post[]|int[]|false Array of pages (or hierarchical post type items). Boolean false if the
     5974 * @return WP_Post[]|false Array of pages (or hierarchical post type items). Boolean false if the
    59755975 *                               specified post type is not hierarchical or the specified status is not
    59765976 *                               supported by the post type.
    59775977 */