Ticket #53762: 53762.diff
File 53762.diff, 870 bytes (added by , 3 years ago) |
---|
-
src/wp-includes/class-wp-editor.php
969 969 ?> 970 970 <script type="text/javascript"> 971 971 window.wp = window.wp || {}; 972 window.wp.editor = window.wp.oldEditor = window.wp.oldEditor || {}; 973 window.wp.oldEditor.getDefaultSettings = function() { 972 window.wp.editor = window.wp.editor || {}; 973 window.wp.oldEditor = window.wp.oldEditor || {}; 974 975 // Add getDefaultSettings() to both wp.editor and wp.oldEditor for back compat. 976 // Use of wp.editor for "old editor" functionality should be deprecated. 977 window.wp.editor.getDefaultSettings = window.wp.oldEditor.getDefaultSettings = function() { 974 978 return { 975 979 tinymce: <?php echo $settings; ?>, 976 980 quicktags: {