Do not use transient expiration longer than month to support memcached

This commit is contained in:
Alex P 2023-08-24 18:14:23 +03:00
parent 7571a1cea8
commit e16a8c4ff3
No known key found for this signature in database
GPG key ID: 54487A734A204D71
5 changed files with 7 additions and 7 deletions

View file

@ -98,7 +98,7 @@ class PPECHelper {
set_transient(
'ppcp_has_ppec_subscriptions',
! empty( $result ) ? 'true' : 'false',
3 * MONTH_IN_SECONDS
MONTH_IN_SECONDS
);
return ! empty( $result );