In `_WP_Editors::editor_settings()`, `$first_run` is unused.
See #33491. Built from https://develop.svn.wordpress.org/trunk@33699 git-svn-id: http://core.svn.wordpress.org/trunk@33666 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ece59bf72a
commit
2a44bc6a59
|
@ -297,8 +297,6 @@ final class _WP_Editors {
|
|||
public static function editor_settings($editor_id, $set) {
|
||||
global $wp_version, $tinymce_version;
|
||||
|
||||
$first_run = false;
|
||||
|
||||
if ( empty(self::$first_init) ) {
|
||||
if ( is_admin() ) {
|
||||
add_action( 'admin_print_footer_scripts', array( __CLASS__, 'editor_js' ), 50 );
|
||||
|
@ -351,7 +349,6 @@ final class _WP_Editors {
|
|||
|
||||
/** This filter is documented in wp-admin/includes/media.php */
|
||||
$no_captions = (bool) apply_filters( 'disable_captions', '' );
|
||||
$first_run = true;
|
||||
$ext_plugins = '';
|
||||
|
||||
if ( $set['teeny'] ) {
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.4-alpha-33698';
|
||||
$wp_version = '4.4-alpha-33699';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue