Yet Another Expiration Issue Thread
-
Frankly, I never want these links to expire. Sometimes a draft page is being worked on for weeks, and getting feedback from someone. I don’t want to have to keep generating new links. I tried setting a 90 day expiration:
add_filter( ‘ppp_nonce_life’, ‘ext_network_functions_set_public_post_preview_nonce_life’ );function ext_network_functions_set_public_post_preview_nonce_life( $lifetime ) {
// 90 days
return 7776000; // 90 * 24 * 60 * 60
}
Then I saved drafts of a Post, a Page, and a custom post type. The preview links worked for anonymous users as expected. 3 days later, only the Page one works now – with the others reporting they’re expired.
Looking through the forums and github, I see lots of issues with people having links “expire” prematurely.
Is it possible to just remove the concept of expiration all together? Any advice on helping troubleshoot why SOME links are expiring 88 days earlier?
Thank you!
The topic ‘Yet Another Expiration Issue Thread’ is closed to new replies.