Ticket #22577: 22577.diff
File 22577.diff, 521 bytes (added by , 12 years ago) |
---|
-
wp-includes/js/media-models.js
269 269 270 270 return media.post( 'save-attachment-compat', _.defaults({ 271 271 id: this.id, 272 nonce: l10n.saveAttachmentNonce272 nonce: media.model.settings.saveAttachmentNonce 273 273 }, data ) ).done( function( resp, status, xhr ) { 274 274 model.set( model.parse( resp, xhr ), options ); 275 275 });