Support » Plugin: Public Post Preview » 2.8.0 not working with WordPress 5.0.3 (both Classic and Gutenberg)

  • andrewskg

    (@andrewskg)


    Hi,

    First of all, thanks so much for a great plugin.

    I have upgraded to WP 5.0.3 and the plugin has stopped working all together.

    I see the checkbox in the sidebar (both in Classic and in Gutenberg) but the links generated for public preview are broken.

    I noticed that sometimes the &preview=1 part of the link disappears on loading, then it gives a 404 page.

    Some other times, the full preview link remains as per generated, and then it gives a “No public preview available!” error.

    FYI I have manually increased the expiration time via:

    add_filter( 'ppp_nonce_life', 'my_nonce_life' );
    function my_nonce_life() {
        return 60 * 60 * 24 * 14; // 14 days
    }

    not sure if this conflicts in any way.

    Hope to get your help on this, thanks!

  • You must be logged in to reply to this topic.