mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-04 08:47:23 +08:00
Do not use transient expiration longer than month to support memcached
This commit is contained in:
parent
7571a1cea8
commit
e16a8c4ff3
5 changed files with 7 additions and 7 deletions
|
@ -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 );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue