We won again!

Great victory for the People - Tax Cut!

Can I Clean Old Versions of the Same Post?

Question: Each time I modify a POST, a copy of old POST is created and saved. Can I control, how many old posts to retain? Can I clean all old posts?

Answer: Yes! You can stop collecting old versions of the posts by adding this line to your wp-config.php file:

define('WP_POST_REVISIONS', false);

And Yes! You can delete all “revisions” by running this SQL statement against you database:

DELETE wp_posts.post_type
FROM wp_posts
WHERE wp_posts.post_type = "revision"
(Visited 10 times, 1 visits today)

Be the first to comment

Your question, correction or clarification Ваш вопрос, поправка или уточнение

Editor on duty will review your comment. Can't wait? Discuss your topic right now in forums, if you register and login.     Required fields are marked with * Ваше послание пойдет на просмотр в редакцию. Не можете ждать? Обсудите ваш вопрос прямо сейчас в форуме Русский Круг , ecли вы зарегистрируетесь и войдёте под своим именем.     Поля, обязательные для заполнения, помечены *
* *