Changeset 47164
- Timestamp:
- 02/02/2020 04:13:25 AM (5 years ago)
- Location:
- trunk/src
- Files:
-
- 1 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/js/_enqueues/deprecated/media-gallery.js
r43347 r47164 2 2 * This file is used on media-upload.php which has been replaced by media-new.php and upload.php 3 3 * 4 * @deprecated 4 * @deprecated 3.5.0 5 5 * @output wp-admin/js/media-gallery.js 6 6 */ -
trunk/src/wp-admin/includes/update-core.php
r47122 r47164 790 790 'wp-includes/js/wp-a11y.js', // Moved to: wp-includes/js/dist/a11y.js 791 791 'wp-includes/js/wp-a11y.min.js', // Moved to: wp-includes/js/dist/a11y.min.js 792 // 5.4 793 'wp-admin/js/wp-fullscreen-stub.js', 794 'wp-admin/js/wp-fullscreen-stub.min.js', 792 795 ); 793 796 -
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 -
trunk/src/wp-includes/script-loader.php
r47122 r47164 716 716 717 717 $scripts->add( 'clipboard', "/wp-includes/js/clipboard$suffix.js", array(), false, 1 ); 718 719 // Back-compat for old DFW. To-do: remove at the end of 2016.720 $scripts->add( 'wp-fullscreen-stub', "/wp-admin/js/wp-fullscreen-stub$suffix.js", array(), false, 1 );721 718 722 719 $scripts->add( 'wp-ajax-response', "/wp-includes/js/wp-ajax-response$suffix.js", array( 'jquery' ), false, 1 );
Note: See TracChangeset
for help on using the changeset viewer.