• Resolved liekenetherlands

    (@liekenetherlands)


    Hi there,

    Since the latest update there seem to be old revisons showing up in the frontend search results. It shows the correct search result (page or post with publish date and so on) but also an identical search result, without publish date.

    If I go to edit the post, manage the revisions and delete the next to last one, the double search result disappears.

    I do not have any revisions in the queue, everything is published. Also after regenerating revisions via de publishpress settings.

    Is there any way to stop this? Or is there a way to delete old revisions in one go? Or to exclude revisions from the search results? Because now I can only stop this from happening per page when somebody notices the double search result.

    Hope to hear from you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Kevin Behrens

    (@kevinb)

    @liekenetherlands It sounds like you have some other plugin or theme code that modifies the front end search results in a way that causes standard revisions to be mixed in. Revisions code may be involved in that interaction too, but it’s not something we see happen with the plugin on its own. Are you using a search plugin? If are able to experiment with temporary deactivations to find the necessary conditions for this error, I can troubleshoot that.

    As a workaround to prevent the error, you could disable the storage of revisions by adding this code snippet to your wp-config.php file, just below other constant definitions:

    define( 'WP_POST_REVISIONS', false );

    Plugin Author Kevin Behrens

    (@kevinb)

    @liekenetherlands If those changes began as scheduled revisions, there is a possibility this beta version will resolve the issue. We aim to release it tomorrow, so it’s fine to wait if you don’t have a safe way to test:

    https://downloads.www.ads-software.com/plugin/revisionary.zip

    The most significant change in this version is a different revision publication mechanism enabled by the following new option:

    Revisions > Settings > Scheduled Revisions > Use WP-Cron scheduling

    Thread Starter liekenetherlands

    (@liekenetherlands)

    Thanks for your quick response! I use Relevanssi and with that plugin deactivated, I don’t have this problem. Thing is, I have used both plugins together for a long time without this happening. Has the way of storing revisions been changed?

    Looking at your next comment, I’ll wait for the release and see what happens. Thanks again!

    Thread Starter liekenetherlands

    (@liekenetherlands)

    Update didn’t help, but the code did. Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Old revisions showing up in search results’ is closed to new replies.