[wp-trac] Re: [WordPress Trac] #9471: Attachments uploaded before
post is saved or autosaved get 0 (zero) for post_parent (instead of
temp_id value)
WordPress Trac
wp-trac at lists.automattic.com
Fri Jun 26 13:14:56 GMT 2009
#9471: Attachments uploaded before post is saved or autosaved get 0 (zero) for
post_parent (instead of temp_id value)
---------------------------------+------------------------------------------
Reporter: aesqe | Type: defect (bug)
Status: new | Priority: normal
Milestone: 2.8.1 | Component: Autosave
Version: 2.8 | Severity: major
Keywords: needs-patch blocker |
---------------------------------+------------------------------------------
Comment(by Denis-de-Bernardy):
That would clutter the database with huge amount of drafts. A better
approach might come when we switch to using a UUID as the post_guid. We
can then pass an arbitrary UUID on new posts. It'll be essentially
guaranteed to be unique, without needing to fire any autosave at some
weird moments.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/9471#comment:16>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list