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.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 1.7.0.9 All 211 releases
← All changes | includes/deprecated/charitable-deprecated-functions.php +30 -7 1.6.7 → 1.8.13 View file →
@@ -1,22 +1,24 @@
1 1 <?php
2 2 /**
3 3 * Charitable Deprecated Functions.
4 4 *
5 - * @package Charitable/Functions/Deprecated
6 - * @version 1.0.1
7 - * @author Eric Daams
8 - * @copyright Copyright (c) 2018, Studio 164a
9 - * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
5 + * @package Charitable/Functions/Deprecated
6 + * @author David Bisset
7 + * @copyright Copyright (c) 2023, WP Charitable LLC
8 + * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
9 + * @since 1.0.1
10 + * @version 1.6.29
10 11 */
11 12
12 13 // Exit if accessed directly.
13 -if ( ! defined( 'ABSPATH' ) ) { exit; }
14 +if ( ! defined( 'ABSPATH' ) ) {
15 + exit;
16 +}
14 17
15 18 /**
16 19 * @deprecated 1.0.1
17 20 */
18 -
19 21 function charitable_user_dashboard() {
20 22 charitable_get_deprecated()->deprecated_function(
21 23 __FUNCTION__,
22 24 '1.0.1',
@@ -156,4 +158,25 @@
156 158 return charitable()->endpoints()->add_body_classes( $classes );
157 159 }
158 160
159 161 endif;
162 +
163 +/**
164 + * Yoast attempts to executes shortcodes from the admin, so we
165 + * need to make sure these will work properly.
166 + *
167 + * @deprecated 2.0.0
168 + *
169 + * @since 1.5.4
170 + * @since 1.6.10 Deprecated.
171 + *
172 + * @return void
173 + */
174 +function charitable_wpseo_compat_load_template_files() {
175 + charitable_get_deprecated()->deprecated_function(
176 + __FUNCTION__,
177 + '1.6.10',
178 + 'charitable()->load_template_files()'
179 + );
180 +
181 + charitable()->load_template_files();
182 +}