Changeset 51749
- Timestamp:
- 09/08/2021 07:23:39 PM (3 years ago)
- Location:
- branches/5.8
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.8
-
branches/5.8/src/wp-includes/class-wp-editor.php
r51656 r51749 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; ?>,
Note: See TracChangeset
for help on using the changeset viewer.