We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c1cbad1 commit 14380b8Copy full SHA for 14380b8
woocommerce-gateway-monei.php
@@ -51,11 +51,14 @@ function delete_payment_methods_transients() {
51
global $wpdb;
52
53
// Delete transients that match the pattern
54
- $wpdb->query(
+ $result = $wpdb->query(
55
"DELETE FROM {$wpdb->options}
56
WHERE option_name LIKE '_transient_payment_methods_%'
57
OR option_name LIKE '_transient_timeout_payment_methods_%'"
58
);
59
+ if ($result === false) {
60
+ error_log('MONEI: Failed to delete payment method transients');
61
+ }
62
}
63
64
/**
0 commit comments