PluginProbe
Charitable – Donation & Fundraising Platform (Donation Forms, Recurring Donations & Fundraising Campaigns) / 1.8.13
Charitable – Donation & Fundraising Platform (Donation Forms, Recurring Donations & Fundraising Campaigns) v1.8.13
1.8.13.1 1.8.13 1.8.12.3 1.8.12.2 1.8.12.1 1.8.12 1.8.11.3 1.8.11.2 1.8.11.1 1.8.11 1.6.6 1.6.60 1.6.7 1.6.8 1.6.9 1.7.0 1.7.0.1 1.7.0.11 1.7.0.12 1.7.0.14 1.7.0.2 1.7.0.3 1.7.0.5 1.7.0.6 1.7.0.7 All 212 releases
← All changes | includes/class-charitable-upgrade.php +13 -2 1.7.0.7 → 1.8.13 View file →
@@ -1,11 +1,22 @@
1 1 <?php
2 -/* CLASSMAP: IGNORE */
3 2
3 +// Exit if accessed directly.
4 +if ( ! defined( 'ABSPATH' ) ) {
5 + exit;
6 +}
7 +
4 8 /**
5 9 * This provides backwards compatibility for any extensions that
6 10 * attempt to load the Charitable_Upgrade class from here.
7 11 *
12 + * @package Charitable/Functions/Core
13 + * @author David Bisset
14 + * @copyright Copyright (c) 2023, WP Charitable LLC
15 + * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
16 + * @since 1.0.0
17 + * @version 1.8.0
18 + *
8 19 * @deprecated
9 20 */
10 21
11 22 if ( class_exists( 'Charitable_Upgrade' ) ) {
@@ -11,5 +22,5 @@
11 22 if ( class_exists( 'Charitable_Upgrade' ) ) {
12 23 return;
13 24 }
14 25
15 -require_once( charitable()->get_path( 'includes' ) . 'upgrades/class-charitable-upgrade.php' );
26 +require_once charitable()->get_path( 'includes' ) . 'upgrades/class-charitable-upgrade.php';