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 | templates/content-campaign.php +6 -5 1.7.0.2 → 1.8.13 View file →
@@ -7,8 +7,9 @@
7 7 * @author WP Charitable LLC
8 8 * @package Charitable/Templates/Campaign
9 9 * @since 1.0.0
10 10 * @version 1.0.0
11 + * @version 1.8.8.6
11 12 */
12 13
13 14 // Exit if accessed directly.
14 15 if ( ! defined( 'ABSPATH' ) ) {
@@ -14,10 +15,10 @@
14 15 if ( ! defined( 'ABSPATH' ) ) {
15 16 exit;
16 17 }
17 18
18 -$campaign = $view_args['campaign'];
19 -$content = $view_args['content'];
19 +$charitable_campaign = $view_args['campaign'];
20 +$charitable_content = $view_args['content'];
20 21
21 22 /**
22 23 * Add something before the campaign content.
23 24 *
@@ -24,11 +25,11 @@
24 25 * @since 1.0.0
25 26 *
26 27 * @param $campaign Charitable_Campaign Instance of `Charitable_Campaign`.
27 28 */
28 -do_action( 'charitable_campaign_content_before', $campaign );
29 +do_action( 'charitable_campaign_content_before', $charitable_campaign );
29 30
30 -echo $content;
31 +echo $charitable_content; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
31 32
32 33 /**
33 34 * Add something after the campaign content.
34 35 *
@@ -35,5 +36,5 @@
35 36 * @since 1.0.0
36 37 *
37 38 * @param $campaign Charitable_Campaign Instance of `Charitable_Campaign`.
38 39 */
39 -do_action( 'charitable_campaign_content_after', $campaign );
40 +do_action( 'charitable_campaign_content_after', $charitable_campaign );