Ticket #7170 (closed defect: fixed)

Opened 5 months ago

Last modified 5 months ago

AJAX adding post meta does not respect the change from temp_ID to post_ID

Reported by: mdawaffe Assigned to: anonymous
Priority: normal Milestone: 2.6
Component: General Version:
Severity: normal Keywords:
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

7170.diff (1.2 kB) - added by mdawaffe on 06/23/08 23:12:42.

Change History

06/23/08 23:12:42 changed by mdawaffe

  • attachment 7170.diff added.

06/23/08 23:25:15 changed by ryan

  • status changed from new to closed.
  • resolution set to fixed.

(In [8177]) Respect post_ID update when doing multiple add meta AJAX requests. Props mdawaffe. fixes #7170 see #6457

06/23/08 23:27:07 changed by ryan

(In [8178]) Respect post_ID update when doing multiple add meta AJAX requests. Props mdawaffe. fixes #7170 see #6457 for 2.5