mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
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:
parent
0b2f789e93
commit
19ed296008
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
2
wp-admin/js/editor.min.js
vendored
2
wp-admin/js/editor.min.js
vendored
File diff suppressed because one or more lines are too long
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user