Changeset 47164 for trunk/src/wp-includes/class-wp-editor.php
- Timestamp:
- 02/02/2020 04:13:25 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-editor.php
r47122 r47164 26 26 private static $editor_buttons_css = true; 27 27 private static $drag_drop_upload = false; 28 private static $old_dfw_compat = false;29 28 private static $translation; 30 29 private static $tinymce_scripts_printed = false; … … 59 58 * @type bool $teeny Whether to output the minimal editor config. Examples include 60 59 * Press This and the Comment editor. Default false. 61 * @type bool $dfw Deprecated in 4.1. Since 4.3 used only to enqueue wp-fullscreen-stub.js 62 * for backward compatibility. 60 * @type bool $dfw Deprecated in 4.1. Unused. 63 61 * @type bool|array $tinymce Whether to load TinyMCE. Can be used to pass settings directly to 64 62 * TinyMCE using an array. Default true. … … 98 96 'editor_class' => '', 99 97 'teeny' => false, 100 'dfw' => false,101 98 '_content_editor_dfw' => false, 102 99 'tinymce' => true, … … 122 119 if ( self::$this_quicktags ) { 123 120 self::$has_quicktags = true; 124 }125 126 if ( $set['dfw'] ) {127 self::$old_dfw_compat = true;128 121 } 129 122 … … 871 864 wp_enqueue_script( 'wplink' ); 872 865 wp_enqueue_script( 'jquery-ui-autocomplete' ); 873 }874 875 if ( self::$old_dfw_compat ) {876 wp_enqueue_script( 'wp-fullscreen-stub' );877 866 } 878 867
Note: See TracChangeset
for help on using the changeset viewer.