205 reputation
514
bio website
location
age
visits member for 3 years, 2 months
seen Jul 15 at 19:42

Jul
24
awarded  Yearling
Jul
2
awarded  Curious
Apr
30
awarded  Notable Question
Jan
6
awarded  Favorite Question
Nov
21
awarded  Popular Question
Oct
23
awarded  Popular Question
May
20
awarded  Good Question
Apr
18
awarded  Popular Question
Apr
15
awarded  Notable Question
Jun
7
awarded  Popular Question
May
16
comment WP_Query not working as expected for attachments and custom meta_query
Thanks. Nothing personal, just kinda strange seeing how things seemed pretty civil here. Oh well. I did take a look at the WP_Query object but was still stumped. I would be interested to understand the logic behind 'inherit' for published attachments...
May
16
accepted WP_Query not working as expected for attachments and custom meta_query
May
16
revised WP_Query not working as expected for attachments and custom meta_query
added 6 characters in body
May
16
revised WP_Query not working as expected for attachments and custom meta_query
added 135 characters in body
May
16
comment WP_Query not working as expected for attachments and custom meta_query
shouldn't the post_status be publish?
May
15
comment WP_Query not working as expected for attachments and custom meta_query
Thanks, but your code is effectively the same as mine. You are just taking a short cut. So this does not solve the problem. I really think we may have a bug on our hands.
May
15
comment WP_Query not working as expected for attachments and custom meta_query
Dropping the compare and type does not change the outcome... Numeric is also a no go
May
15
comment WP_Query not working as expected for attachments and custom meta_query
No, but thanks I was wonder why the code was not formatting.
May
15
revised WP_Query not working as expected for attachments and custom meta_query
added 1 characters in body
May
15
asked WP_Query not working as expected for attachments and custom meta_query