Merge pull request #1624 from woocommerce/PCP-1823-transient-time

Do not use transient expiration longer than month to support memcached
This commit is contained in:
Emili Castells 2023-09-07 14:10:39 +02:00 committed by GitHub
commit c0058f758f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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 );