WordPress.org

Make WordPress Core

Changeset 29004


Ignore:
Timestamp:
07/05/2014 12:24:05 AM (4 years ago)
Author:
azaozz
Message:

Remove debug remnants, see #28595

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/js/tinymce/plugins/wpview/plugin.js

    r28994 r29004  
    149149        return content.replace(/<div[^>]+data-wpview-text=\"([^"]+)"[^>]*>[\s\S]+?wpview-selection-after[^>]+>(?:&nbsp;|\u00a0)*<\/p><\/div>/g, '$1' );
    150150    }
    151    
    152     window.emptyViews = function() {
    153         return emptyViews( editor.getContent({format : 'raw'}) );
    154     };
    155151
    156152    // Prevent adding undo levels on changes inside a view wrapper
Note: See TracChangeset for help on using the changeset viewer.