[wp-trac] [WordPress Trac] #11145: No gallery tab after upload if post hasn't been saved yet

WordPress Trac wp-trac at lists.automattic.com
Tue Dec 15 22:39:43 UTC 2009


#11145: No gallery tab after upload if post hasn't been saved yet
--------------------------+-------------------------------------------------
 Reporter:  yoavf         |       Owner:     
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.0
Component:  Gallery       |     Version:  2.9
 Severity:  normal        |    Keywords:     
--------------------------+-------------------------------------------------

Comment(by Denis-de-Bernardy):

 Replying to [comment:4 jeffstieler]:
 > What is the correct course of action to fix this?

 see also #9471

 Imo, the correct approach is to immediately assign a uuid to drafts. and
 since we're now requiring mysql 4.1, we can.

 the upload button should then pass the uuid instead of the post_id. and if
 anything is uploaded we create the post on the fly is no post exists with
 the same uuid.

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


More information about the wp-trac mailing list