WordPress.org

Make WordPress Core

Changeset 18155


Ignore:
Timestamp:
06/05/2011 11:12:51 PM (7 years ago)
Author:
azaozz
Message:

Fix JS error in Press This, props greuben, fixes #17501

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/press-this.php

    r18148 r18155  
    367367        if ( '' != text && tinyMCE.activeEditor && ! tinyMCE.activeEditor.isHidden()) {
    368368            tinyMCE.execCommand('mceSetContent', false, tinyMCE.activeEditor.getContent({format : 'raw'}) + '<p>' + text + '</p>');
    369             tinyMCE.execCommand('mceCleanup');
    370369        } else {
    371370            insert_plain_editor(text);
Note: See TracChangeset for help on using the changeset viewer.