0815

Du musst dich anmelden um Beiträge und Themen zu erstellen. Einloggen · Registrieren

Disable WordPress Post Revisions

One of the new features rolled out in WordPress 2.6 involved post revisions. Revisions are a way for users to keep a working collection of each different version of a post and then revert back to it in the future if necessary. Some people think this is the greatest thing since lightsabers, others (such as myself) find it to be a royal pain in the database. It convolutes the Admin area, gobbles up disk space, and usually doesn’t work as intended. Fortunately, we can disable this amazing new “feature” (which should NOT have been included in the core) by adding the following line to the wp-config.php file:

/* disable post-revisioning nonsense */ 
define('WP_POST_REVISIONS', FALSE);

Just place that line above the “Happy blogging” comment and say goodbye to needless revisioning bloat.

Source: Digging into WordPress




0