Make WordPress Core

Ticket #13352: post.php.diff

File post.php.diff, 402 bytes (added by layotte, 16 years ago)

get_children -- remove default post_status = any

  • post.php

     
    276276        }
    277277
    278278        $defaults = array(
    279                 'numberposts' => -1, 'post_type' => 'any',
    280                 'post_status' => 'any', 'post_parent' => 0,
     279                'numberposts' => -1, 'post_type' => 'any', 'post_parent' => 0,
    281280        );
    282281
    283282        $r = wp_parse_args( $args, $defaults );