WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #22868, comment 2


Ignore:
Timestamp:
12/12/12 02:43:05 (17 months ago)
Author:
geminorum
Comment:

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. 
    22 
    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. 
    44 
    55so cannot use [http://core.trac.wordpress.org/browser/trunk/wp-admin/includes/ajax-actions.php#L1929 attachment_fields_to_save] to save extra data.