Make WordPress Core

Ticket #55207: patch-1.diff

File patch-1.diff, 446 bytes (added by NomNom99, 3 years ago)
  • src/wp-includes/class-wp-query.php

    diff --git src/wp-includes/class-wp-query.php src/wp-includes/class-wp-query.php
    index d30bc43f34..5110b21f8e 100644
    class WP_Query { 
    32473247                                        array(
    32483248                                                'post__in'    => $sticky_posts,
    32493249                                                'post_type'   => $post_type,
    3250                                                 'post_status' => 'publish',
     3250                                                'post_status' => $q['post_status'],
    32513251                                                'nopaging'    => true,
    32523252                                        )
    32533253                                );