I have been on the "Limit Post Revisions" journey for the last few days, no joy yet. After extensive searches and trials, I must assume the standard approach to Limit Post Revisions doesn't work any longer, in Wordpress MU 2.8.2.
I want to have NO Post Revisions, and tried both the following suggestions:
Add to wp-config.php:
define(’WP_POST_REVISIONS’, false);
OR
define(’WP_POST_REVISIONS’, 0);
Neither worked, and Post Revisions kept happily coming...
I did however manage to completely clean up all old post revisions and associated entries, reducing database size by 70%!!
I used the following SQL command for each blog, insert the blog ID number for {ID}, worked a treat:
DELETE a,b,c
FROM wp_{ID}_posts a
LEFT JOIN wp_{ID}_term_relationships b ON (a.ID = b.object_id)
LEFT JOIN wp_{ID}_postmeta c ON (a.ID = c.post_id)
WHERE a.post_type = 'revision'
So, do I need to constantly clean up old Post Revisions as above, or is there a NEW way to DISABLE Post Revisions?