Make WordPress Core

Ticket #56330: 56330.2.patch

File 56330.2.patch, 978 bytes (added by jigar bhanushali, 2 years ago)

Updated patch

  • src/wp-includes/post.php

    diff --git a/src/wp-includes/post.php b/src/wp-includes/post.php
    index d8f21403ca..48122ffbfb 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
    5975  *                               specified post type is not hierarchical or the specified status is not
    5976  *                               supported by the post type.
     5974 * @return WP_Post[]|false Array of pages (or hierarchical post type items). Boolean false if the
     5975 *                         specified post type is not hierarchical or the specified status is not
     5976 *                         supported by the post type.
    59775977 */
    59785978function get_pages( $args = array() ) {
    59795979        global $wpdb;