[wp-trac] [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 Sep 4 08:56:49 UTC 2009


#9471: Attachments uploaded before post is saved or autosaved get 0 (zero) for
post_parent (instead of temp_id value)
--------------------------+-------------------------------------------------
 Reporter:  aesqe         |       Owner:  scribu                 
     Type:  defect (bug)  |      Status:  accepted               
 Priority:  normal        |   Milestone:  2.9                    
Component:  Media         |     Version:  2.8                    
 Severity:  blocker       |    Keywords:  has-patch needs-testing
--------------------------+-------------------------------------------------

Comment(by iwords):

 Some more feedback, as it doesn't seem that this point has been
 recognised: currently, it is impossible to attach an image to a post when
 using QuickPress on the Dashboard.  Since QuickPress doesn't appear to
 have an autosave feature like the full-blown editor, an ID isn't generated
 until the post is either saved or published - at which point the post's
 content is cleared from the QuickPress editor, so you can no longer attach
 an image to it anyway.

 Currently, the only way to attach an image to a post written in QuickPress
 is to save it as a draft, then re-edit it using the full editor, which
 somewhat defeats the object of using QuickPress.

 Just to clarify - yes, you can upload images and insert them into the
 *body* of the post.  But you can't upload images and have them stored as
 attachments using QuickPress at all.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/9471#comment:43>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list