WordPress.org

Make WordPress Core

Ticket #26959: 26959-09.patch

File 26959-09.patch, 513 bytes (added by gcorne, 8 years ago)
  • src/wp-includes/js/mce-view.js

    diff --git src/wp-includes/js/mce-view.js src/wp-includes/js/mce-view.js
    index 7d5f051..be2681a 100644
    window.wp = window.wp || {}; 
    300300                                self = this,
    301301                                frame, data;
    302302
    303                         data = window.decodeURIComponent( $( node ).data('wpview-text') );
     303                        data = window.decodeURIComponent( $( node ).attr('data-wpview-text') );
    304304                        frame = gallery.edit( data );
    305305
    306306                        frame.state('gallery-edit').on( 'update', function( selection ) {