[wp-trac] [WordPress Trac] #27674: WP_Query auto-draft
WordPress Trac
noreply at wordpress.org
Mon Apr 7 07:04:11 UTC 2014
#27674: WP_Query auto-draft
--------------------------+------------------------------
Reporter: Philo01 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Query | Version: 3.8.1
Severity: normal | Resolution:
Keywords: 2nd-opinion | Focuses:
--------------------------+------------------------------
Comment (by nacin):
Auto drafts are an internal construct. I don't think WP_Query or any API
except get_default_post_to_edit() should ever expose these.
If they are submitting a form, then it should become a 'draft'. Auto
drafts are only so we have an ID to work with immediately, before anything
happens and they are creating something new.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27674#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list