[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:31:53 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):
I'd personally advise the UUID approach for new posts. It would get passed
as a hidden field, and if the post with such doesn't exist we can then
create it on the fly without risk for collisions.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/9471#comment:19>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list