Better access for generic post_status = object and arbitrary post_type
|Reported by:||mdawaffe||Owned by:||mdawaffe|
|Severity:||normal||Keywords:||post_status post_type object WP_Query bg|2nd-opinion bg|has-patch|
Currently WP_Query makes accessing and cotrolling access to post_status = object posts difficult.
Additionally, wp_insert_post() has no access to the useful post_type field.
The following patch addresses both issues, but needs a second opinion.
$is_dingus is the boolean used to determine if the query in question is one associated with a post_status = object post. $is_object was avoided due to the native PHP function is_object().