Changeset 28012
- Timestamp:
- 04/07/2014 09:34:18 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/js/tinymce/plugins/wpdialogs/plugin.js
r26900 r28012 30 30 } 31 31 32 if ( typeof jQuery === 'undefined' || ! jQuery.wp || ! jQuery.wp.wpdialog ) { 33 // wpdialod.js is not loaded 34 if ( window.console && window.console.error ) { 35 window.console.error('wpdialog.js is not loaded. Please set it as dependency for your script when calling wp_enqueue_script().'); 36 } 37 38 return; 39 } 40 32 41 wp.$element = $element = jQuery( '#' + args.id ); 33 42 … … 36 45 } 37 46 38 if ( window && window.console) {47 if ( window.console && window.console.log ) { 39 48 window.console.log('tinymce.WPWindowManager is deprecated. Use the default editor.windowManager to open dialogs with inline HTML.'); 40 49 }
Note: See TracChangeset
for help on using the changeset viewer.