← All changes
|
includes/compat/charitable-w3tc-compat-functions.php
+2
-1
1.7.0.2
→
1.8.13
View file →
| @@ -4,9 +4,9 @@ | ||
| 4 | 4 | * |
| 5 | 5 | * @package Charitable/Functions/Compatibility |
| 6 | 6 | * @version 1.4.18 |
| 7 | 7 | * @author David Bisset |
| 8 | - * @copyright Copyright (c) 2022, WP Charitable LLC | |
| 8 | + * @copyright Copyright (c) 2023, WP Charitable LLC | |
| 9 | 9 | * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License |
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | 12 | // Exit if accessed directly. |
| @@ -44,8 +44,9 @@ | ||
| 44 | 44 | * @return void |
| 45 | 45 | */ |
| 46 | 46 | function charitable_compat_w3tc_turn_off_donation_cache() { |
| 47 | 47 | if ( ! defined( 'DONOTCACHEDB' ) ) { |
| 48 | + // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedConstantFound -- DONOTCACHEDB is a third-party constant defined by W3 Total Cache plugin for compatibility. | |
| 48 | 49 | define( 'DONOTCACHEDB', true ); |
| 49 | 50 | } |
| 50 | 51 | } |
| 51 | 52 | |