Skip to content

Commit

Permalink
fix: remove publish in sql
Browse files Browse the repository at this point in the history
  • Loading branch information
nilssonpeter committed May 11, 2020
1 parent 55242e4 commit 749cc8d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Queryer.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,6 @@ private function sql($ids) {
ON
" . $wpdb->base_prefix . "mf_custom_fields.custom_group_id = " . $wpdb->base_prefix . "mf_custom_groups.id
WHERE
" . $wpdb->prefix . "posts.post_status = 'publish'
AND
" . $wpdb->prefix . "posts.ID IN (" . implode(', ', $ids) . ")
AND
" . $wpdb->base_prefix . "mf_custom_groups.post_type = " . $wpdb->prefix . "posts.post_type
Expand Down

0 comments on commit 749cc8d

Please sign in to comment.