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

Fixes: #35760
Built from https://develop.svn.wordpress.org/trunk@40599


git-svn-id: http://core.svn.wordpress.org/trunk@40469 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Ozz 2017-05-10 02:50:44 +00:00
parent 0b2f789e93
commit 19ed296008
3 changed files with 3 additions and 6 deletions

View File

@ -646,10 +646,7 @@ window.wp = window.wp || {};
qtInstance = window.QTags.getInstance( id );
if ( qtInstance ) {
$( qtInstance.toolbar ).remove();
delete window.QTags.instances[ id ];
delete window.QTags.instances[ 0 ];
qtInstance.remove();
}
}

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.8-alpha-40598';
$wp_version = '4.8-alpha-40599';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.