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/form-fields/content.php +7 -1 1.7.0 → 1.8.13 View file →
@@ -1,5 +1,11 @@
1 1 <?php
2 +
3 +// Exit if accessed directly.
4 +if ( ! defined( 'ABSPATH' ) ) {
5 + exit;
6 +}
7 +
2 8 /**
3 9 * The template used to display the suggested amounts field.
4 10 *
5 11 * Override this template by copying it to yourtheme/charitable/form-fields/content.php
@@ -13,5 +19,5 @@
13 19 if ( ! array_key_exists( 'content', $view_args['field'] ) ) {
14 20 return;
15 21 }
16 22
17 -echo $view_args['field']['content'];
23 +echo $view_args['field']['content']; // phpcs:ignore