Ticket #24756: 24756-3.patch
| File 24756-3.patch, 871 bytes (added by , 13 years ago) |
|---|
-
wp-includes/js/autosave.js
520 520 init: function( settings ) { 521 521 var self = this; 522 522 523 // Run only on the Add/Edit Post screens and in browsers that have sessionStorage524 if ( 'post' != window.pagenow || ! this.checkStorage())523 // Check if the browser supports sessionStorage and editor.js is loaded 524 if ( ! this.checkStorage() || typeof switchEditors == 'undefined' ) 525 525 return; 526 // editor.js has to be loaded before autosave.js 527 if ( typeof switchEditors == 'undefined' ) 526 527 // Don't run if the post type doesn't supprts neither 'editor' (textarea#content) nor 'excerpt'. 528 if ( ! $('#content').length && ! $('#excerpt').length ) 528 529 return; 529 530 530 531 if ( settings )
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)