WordPress.org

Make WordPress Core

Changeset 40599


Ignore:
Timestamp:
05/10/2017 02:49:40 AM (13 months ago)
Author:
azaozz
Message:

Editor: Update wp.editor.remove() to use the new Quicktags instance removep().

Fixes: #35760

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/js/editor.js

    r40588 r40599  
    647647
    648648            if ( qtInstance ) {
    649                 $( qtInstance.toolbar ).remove();
    650 
    651                 delete window.QTags.instances[ id ];
    652                 delete window.QTags.instances[ 0 ];
     649                qtInstance.remove();
    653650            }
    654651        }
Note: See TracChangeset for help on using the changeset viewer.