Array ( [0] => SELECT wp_posts.* FROM wp_posts WHERE 1=1 AND wp_posts.post_parent = 23688 AND wp_posts.post_type = 'attachment' AND ((wp_posts.post_status <> 'trash' AND wp_posts.post_status <> 'auto-draft')) ORDER BY wp_posts.post_date DESC [1] => Array ( ) )