When inserting a draft post with wp_insert_post you can't query it on name
|Reported by:||markoheijnen||Owned by:|
When creating a draft post with wp_insert_post you can't query it with get_post.
In my case I used the argument: name. That is the problem. Not using it will find the post.
I'm not sure if this is an expected result. I would say no.
Change History (4)
Note: See TracTickets for help on using tickets.