[wp-trac] [WordPress Trac] #11889: Create post with special post_status when viewing Add New screen
WordPress Trac
wp-trac at lists.automattic.com
Wed Jan 13 22:18:58 UTC 2010
#11889: Create post with special post_status when viewing Add New screen
----------------------------+-----------------------------------------------
Reporter: markjaquith | Owner: markjaquith
Type: task (blessed) | Status: accepted
Priority: high | Milestone: 3.0
Component: Autosave | Version: 3.0
Severity: normal | Keywords:
----------------------------+-----------------------------------------------
Changes (by westi):
* cc: westi (added)
Comment:
I like Marks idea.
Creating the post in the db in get_default_post_to_edit() as a auto-draft
of whatever $post_type which will then get an ID
We can then clear up old ones using cron like we do to empty trash.
I'm not sure how using s UUID in the post_guid field affects this solution
and how it improves on using the post_id.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11889#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list