Ticket #16824: ticket.16824.diff
File ticket.16824.diff, 571 bytes (added by , 13 years ago) |
---|
-
wp-includes/query.php
2371 2371 2372 2372 if ( isset($q['post_status']) && '' != $q['post_status'] ) { 2373 2373 $statuswheres = array(); 2374 $q_status = explode(',', $q['post_status']); 2374 if ( is_array( $q['post_status'] ) ) { 2375 $q_status = $q['post_status']; 2376 } else { 2377 $q_status = explode(',', $q['post_status']); 2378 } 2375 2379 $r_status = array(); 2376 2380 $p_status = array(); 2377 2381 $e_status = array();