Changes between Initial Version and Version 1 of Ticket #22868, comment 2
- Timestamp:
- 12/12/2012 02:43:05 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #22868, comment 2
initial v1 1 [http://core.trac.wordpress.org/browser/trunk/wp-includes/js/media-models.js#L315 wp.media.model.Attachment.saveCompat] sends id, post_id and nonce.1 [http://core.trac.wordpress.org/browser/trunk/wp-includes/js/media-models.js#L315 wp.media.model.Attachment.saveCompat] sends id, post_id, nonce and the new changes. 2 2 3 [http://core.trac.wordpress.org/browser/trunk/wp-admin/includes/ajax-actions.php#L1915 wp_ajax_save_attachment_compat()] expects attachments , update-post_(post_id)3 [http://core.trac.wordpress.org/browser/trunk/wp-admin/includes/ajax-actions.php#L1915 wp_ajax_save_attachment_compat()] expects attachments or attachmets id. 4 4 5 5 so cannot use [http://core.trac.wordpress.org/browser/trunk/wp-admin/includes/ajax-actions.php#L1929 attachment_fields_to_save] to save extra data.