WordPress.org

Make WordPress Core

Ticket #16824: 16824.patch

File 16824.patch, 498 bytes (added by hakre, 3 years ago)

one-liner

  • wp-includes/query.php

     
    23912391 
    23922392                if ( isset($q['post_status']) && '' != $q['post_status'] ) { 
    23932393                        $statuswheres = array(); 
    2394                         $q_status = explode(',', $q['post_status']); 
     2394                        $q_status = explode(',', implode(',', (array) $q['post_status'])); 
    23952395                        $r_status = array(); 
    23962396                        $p_status = array(); 
    23972397                        $e_status = array();