Use correct variable.

props azaozz.
see #24472.

git-svn-id: https://develop.svn.wordpress.org/trunk@28945 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2014-07-01 23:29:03 +00:00
parent 44f1a76a85
commit 339a0e87b7

View File

@ -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,