[wp-trac] [WordPress Trac] #7170: AJAX adding post meta does not respect the change from temp_ID to post_ID

WordPress Trac wp-trac at lists.automattic.com
Mon Jun 23 23:12:26 GMT 2008


#7170: AJAX adding post meta does not respect the change from temp_ID to post_ID
----------------------+-----------------------------------------------------
 Reporter:  mdawaffe  |       Owner:  anonymous
     Type:  defect    |      Status:  new      
 Priority:  normal    |   Milestone:  2.6      
Component:  General   |     Version:           
 Severity:  normal    |    Keywords:           
----------------------+-----------------------------------------------------
 When writing a new post, the temp_ID is hardcoded into the javascript for
 the AJAX based post meta addition.  When the temp_ID is converted to a
 post_ID, that javascript becomes out of date and subsequent meta additions
 get added to additional new posts rather than the correct post.

 Attached gets rid of the hardcoding and finds the correct post ID
 dynamically.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/7170>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list