• Resolved Knut Sparhell

    (@knutsp)


    WP 6.7.1, PHP 8.3, all other plugins deactivated, Twenty Twenty-Five. Settings says expiry is 48 hours. Actual expiry about 24 seconds.

    Downgraded to 2.10 and everthing is fine again, new preview links no longer expire early.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Knut Sparhell

    (@knutsp)

    If it mayn help, I added this code to mu-plugins/ppp.php

    \add_filter( 'ppp_nonce_life', static function( int $life ): int {
    \error_log( '[' . \current_filter() . '] '. $life );
    return 100000 * $life;
    } );

    and it logs [ppp_nonce_life] 48, and the link works again.

    It seems this filter makes the link last about 1 hour. Tested this on three sites with same result.

    Plugin Author Dominik Schilling

    (@ocean90)

    WordPress Core Developer

    Version 3.0.1 restores the previous 48 hours instead of 48 seconds.

    Thread Starter Knut Sparhell

    (@knutsp)

    Thank you for the quick fix!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘The link expires after few seconds with v 3.0’ is closed to new replies.