#7170 closed defect (bug) (fixed)
AJAX adding post meta does not respect the change from temp_ID to post_ID
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 2.6 | Priority: | normal |
Severity: | normal | Version: | |
Component: | General | Keywords: | |
Focuses: | Cc: |
Description
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.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
(In [8177]) Respect post_ID update when doing multiple add meta AJAX requests. Props mdawaffe. fixes #7170 see #6457