From a14be1fffadb7a8d300c4adab60d1687ac8b7e47 Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Fri, 21 Aug 2015 18:29:31 +0000 Subject: [PATCH] In `_WP_Editors::editor_settings()`, `$first_run` is unused. See #33491. git-svn-id: https://develop.svn.wordpress.org/trunk@33699 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/class-wp-editor.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/wp-includes/class-wp-editor.php b/src/wp-includes/class-wp-editor.php index a016df5269..1baafde3d0 100644 --- a/src/wp-includes/class-wp-editor.php +++ b/src/wp-includes/class-wp-editor.php @@ -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'] ) {