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
This commit is contained in:
parent
63b1667a01
commit
63a875ce80
|
@ -73,7 +73,7 @@ final class _WP_Editors {
|
||||||
* @param array $settings Array of editor arguments.
|
* @param array $settings Array of editor arguments.
|
||||||
* @param string $editor_id ID for the current editor instance.
|
* @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(
|
$set = wp_parse_args( $settings, array(
|
||||||
'wpautop' => true,
|
'wpautop' => true,
|
||||||
|
|
Loading…
Reference in New Issue