WordPress.org

Make WordPress Core

Changeset 15173


Ignore:
Timestamp:
06/08/2010 02:08:33 PM (10 years ago)
Author:
ryan
Message:

Don't force post_status to publish for custom taxonomy queries. fixes #13755

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/query.php

    r14924 r15173  
    20622062                        $post_status_join = true;
    20632063                    }
    2064                     if ( empty($q['post_status']) )
    2065                         $q['post_status'] = 'publish';
    20662064                } else {
    20672065                    $whichcat = " AND 0 ";
Note: See TracChangeset for help on using the changeset viewer.