Ticket #26022: 26022.patch
File 26022.patch, 733 bytes (added by , 11 years ago) |
---|
-
src/wp-includes/js/media-editor.js
1 /* global getUserSetting, tinymce, QTags, wpActiveEditor */ 2 1 3 // WordPress, TinyMCE, and Media 2 4 // ----------------------------- 3 5 (function($){ … … 524 526 var display = state.display( attachment ).toJSON(); 525 527 return this.send.attachment( display, attachment.toJSON() ); 526 528 }, this ) ).done( function() { 527 wp.media.editor.insert( _.toArray( arguments ).join( "\n\n") );529 wp.media.editor.insert( _.toArray( arguments ).join('\n\n') ); 528 530 }); 529 531 }, this ); 530 532