From 339a0e87b7a464d15bfb4b5ee5af4e091daaff5c Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 1 Jul 2014 23:29:03 +0000 Subject: [PATCH] Use correct variable. props azaozz. see #24472. git-svn-id: https://develop.svn.wordpress.org/trunk@28945 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/class-wp-editor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/class-wp-editor.php b/src/wp-includes/class-wp-editor.php index 9338edf367..bfa9e30b27 100644 --- a/src/wp-includes/class-wp-editor.php +++ b/src/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,