Autosave creating bogus sidebars
-
Autosave is enabled on my site, and so, even though sidebars don’t support revisions, revisions are being saved, and bogus sidebars are the result.
I’m about to test this code as a fix:
public function __construct() { [ ... ] add_action('admin_enqueue_scripts', array(&$this,'admin_disable_autosave') ); [ ... ] } function admin_disable_autosave( $pagehook ) { global $post_type, $current_screen; if($post_type == 'wp_announcements') wp_deregister_script( 'autosave' ); }
I’ll report back if I find it’s not correct. After I figure out how to get rid of the existing bogus revisions/sidebars!
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘Autosave creating bogus sidebars’ is closed to new replies.