From 63a875ce8056f71ca22d24be5e3f19a97006e7d4 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 1 Jul 2014 23:30:15 +0000 Subject: [PATCH] Use correct variable. props azaozz. see #24472. Built from https://develop.svn.wordpress.org/trunk@28945 git-svn-id: http://core.svn.wordpress.org/trunk@28742 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-wp-editor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/class-wp-editor.php b/wp-includes/class-wp-editor.php index 9338edf367..bfa9e30b27 100644 --- a/wp-includes/class-wp-editor.php +++ b/wp-includes/class-wp-editor.php @@ -73,7 +73,7 @@ final class _WP_Editors { * @param array $settings Array of editor arguments. * @param string $editor_id ID for the current editor instance. */ - $defaults = apply_filters( 'wp_editor_settings', $settings, $editor_id ); + $settings = apply_filters( 'wp_editor_settings', $settings, $editor_id ); $set = wp_parse_args( $settings, array( 'wpautop' => true,