mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
Editor: fix warnings in class-wp-editor.php, see #30453.
Built from https://develop.svn.wordpress.org/trunk@30583 git-svn-id: http://core.svn.wordpress.org/trunk@30573 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
1d3b040d7d
commit
4855f36478
@ -76,20 +76,21 @@ final class _WP_Editors {
|
||||
$settings = apply_filters( 'wp_editor_settings', $settings, $editor_id );
|
||||
|
||||
$set = wp_parse_args( $settings, array(
|
||||
'wpautop' => true,
|
||||
'media_buttons' => true,
|
||||
'default_editor' => '',
|
||||
'drag_drop_upload' => false,
|
||||
'textarea_name' => $editor_id,
|
||||
'textarea_rows' => 20,
|
||||
'tabindex' => '',
|
||||
'tabfocus_elements' => ':prev,:next',
|
||||
'editor_css' => '',
|
||||
'editor_class' => '',
|
||||
'teeny' => false,
|
||||
'dfw' => false,
|
||||
'tinymce' => true,
|
||||
'quicktags' => true
|
||||
'wpautop' => true,
|
||||
'media_buttons' => true,
|
||||
'default_editor' => '',
|
||||
'drag_drop_upload' => false,
|
||||
'textarea_name' => $editor_id,
|
||||
'textarea_rows' => 20,
|
||||
'tabindex' => '',
|
||||
'tabfocus_elements' => ':prev,:next',
|
||||
'editor_css' => '',
|
||||
'editor_class' => '',
|
||||
'teeny' => false,
|
||||
'dfw' => false,
|
||||
'_content_editor_dfw' => false,
|
||||
'tinymce' => true,
|
||||
'quicktags' => true
|
||||
) );
|
||||
|
||||
self::$this_tinymce = ( $set['tinymce'] && user_can_richedit() );
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.1-beta2-30582';
|
||||
$wp_version = '4.1-beta2-30583';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user