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:
Scott Taylor 2015-08-21 18:30:24 +00:00
parent ece59bf72a
commit 2a44bc6a59
2 changed files with 1 additions and 4 deletions

View File

@ -297,8 +297,6 @@ final class _WP_Editors {
public static function editor_settings($editor_id, $set) { public static function editor_settings($editor_id, $set) {
global $wp_version, $tinymce_version; global $wp_version, $tinymce_version;
$first_run = false;
if ( empty(self::$first_init) ) { if ( empty(self::$first_init) ) {
if ( is_admin() ) { if ( is_admin() ) {
add_action( 'admin_print_footer_scripts', array( __CLASS__, 'editor_js' ), 50 ); 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 */ /** This filter is documented in wp-admin/includes/media.php */
$no_captions = (bool) apply_filters( 'disable_captions', '' ); $no_captions = (bool) apply_filters( 'disable_captions', '' );
$first_run = true;
$ext_plugins = ''; $ext_plugins = '';
if ( $set['teeny'] ) { if ( $set['teeny'] ) {

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @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. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.