WordPress.org

Ready to get started?Download WordPress

Forums

Missing "Revisions" checkbox in "Show on Screen" panel (6 posts)

  1. mediocrefred
    Member
    Posted 2 years ago #

    I recently upgraded to WordPress 3.3.1 and now, I am unable to see revision history for all of my posts and pages. Not sure if it is related to the WP upgrade or to any plugins that I may have installed/uninstalled in the last week.

    The ability to view version history is supposed to be toggled by the "Revisions" checkbox in the Screen Options. However, my Screen Options does not have a checkbox named "Revisions".

    Is there any way to reset the Screen Options panel to get the Revisions checkbox to reappear? Or is there an easy database value that I can update to get Revisions (version history) re-enabled?

    Thanks.
    MediocreFred.

  2. esmi
    Forum Moderator
    Posted 2 years ago #

    Have you tried:

    - deactivating all plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    - switching to the Twenty Eleven theme to rule out any theme-specific problems.

    - resetting the plugins folder by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause problems.

    - re-uploading the wp-admin and wp-includes folders from a fresh download of WordPress.

  3. mediocrefred
    Member
    Posted 2 years ago #

    No, I haven't tried any of those steps. The site is live and so, I'd rather not do anything that would cause loss of functionality.

    Is there any way to look for this specific setting/option and enable it via the backed (phymyadmin)?

  4. esmi
    Forum Moderator
    Posted 2 years ago #

    The steps I gave above are part of the basic WordPress troubleshooting process and are all reversible. If you cannot work with us, then I'm afraid that we cannot help you.

  5. mediocrefred
    Member
    Posted 2 years ago #

    Found the issue and fixed it. For anybody else that encounters a similar issue and does not want to (or cannot afford to) take the site offline and disable all the plugins to test, here's what I did:

    1. After a fair amount of research, figured out that the attribute that determines whether the "Revisions" Meta Box shows in Screen Options is WP_POST_REVISIONS. This is set to "True" by default but, can be overridden in wp_config.php. More info here.

    2. Downloaded via FTP a copy of my entire web site. Using a text editor that can do a full-text search of *all* files (I used UltraEdit), I searched for WP_POST_REVISIONS.

    3. Found that it was being set to FALSE by a plugin - "postie" - on line 3 of postie-functions.php.

    4. Edited that file and commented out the line. Made a backup on my local system where I backup the few plugin files that I have had to override/hack so I can reapply my hacks after updating the plugin if needed. The first few lines of the file should look like this:

    <?php
    $revisions= WP_POST_REVISIONS;
    //define('WP_POST_REVISIONS', false);     <<-- Commented this line
    //define('POSTIE_DEBUG', true);
    if (!ini_get('safe_mode')) {

    And voila... The Revisions meta box is visible again for posts and pages.

  6. Sabrina
    Member
    Posted 2 years ago #

    Wow, I have just run into this problem.
    Thanks

Topic Closed

This topic has been closed to new replies.

About this Topic