Ticket #23743: 23743-nocomments.patch
| File 23743-nocomments.patch, 832 bytes (added by , 13 years ago) |
|---|
-
wp-includes/js/tinymce/plugins/wordpress/editor_plugin_src.js
217 217 }); 218 218 219 219 ed.onSaveContent.add(function(ed, o) { 220 if ( ed.getParam('wpautop', true) && typeof(switchEditors) == 'object' ) { 221 if ( ed.isHidden() ) 222 o.content = o.element.value; 223 else 224 o.content = switchEditors.pre_wpautop(o.content); 225 } 220 if ( ed.isHidden() ) 221 o.content = o.element.value; 222 else if ( ed.getParam('wpautop', true) && typeof(switchEditors) == 'object' ) 223 o.content = switchEditors.pre_wpautop(o.content); 226 224 }); 227 225 228 226 /* disable for now