Disable Wordpress Autosave

Wordpress has a feature where revisions are kept of each post. I found this annoying and found a page that describes that to disable this feature, add define(‘WP_POST_REVISIONS’, false); to your wp-config.php file.

EDIT: Found a query to delete all page revisions from the database:

DELETE a,b,c
FROM wp_posts a
LEFT JOIN wp_term_relationships b ON (a.ID = b.object_id)
LEFT JOIN wp_postmeta c ON (a.ID = c.post_id)
WHERE a.post_type = ‘revision’

Disable Autorun.inf

Credit: http://nick.brown.free.fr/blog/2007/10/memory-stick-worms

Read more