PluginProbe
GiveWP – Donation Plugin and Fundraising Platform / 4.16.9
GiveWP – Donation Plugin and Fundraising Platform v4.16.9
4.16.9 4.16.8.1 4.16.8 4.16.7.2 4.16.7.1 4.16.7 4.16.6.1 4.16.6 4.16.5.1 4.16.5 4.16.4 4.16.3 4.16.2 4.16.1 4.16.0 4.15.5 4.15.4 4.15.3 4.15.2 4.15.1 4.15.0 2.3.0 2.3.1 2.3.2 2.30.0 All 255 releases
← All changes | templates/shortcode-receipt.php +2 -2 4.16.34.16.9 View file →
@@ -44,9 +44,9 @@
44 44 * @since 1.8.8
45 45 */
46 46 $give_receipt_args['donation_receipt']['donor'] = [
47 47 'name' => __( 'Donor', 'give' ),
48 - 'value' => $full_name,
48 + 'value' => esc_html( give_strip_shortcodes_deep( $full_name ) ),
49 49 'display' => $give_receipt_args['donor'],
50 50 ];
51 51
52 52 /**
@@ -59,9 +59,9 @@
59 59 * @return bool show/hide company name in donation receipt page.
60 60 */
61 61 $give_receipt_args['donation_receipt']['company_name'] = [
62 62 'name' => __( 'Company Name', 'give' ),
63 - 'value' => esc_attr( $company_name ),
63 + 'value' => esc_html( give_strip_shortcodes_deep( $company_name ) ),
64 64 // Do not show company field if empty
65 65 'display' => empty( $company_name ) ? false : $give_receipt_args['company_name'],
66 66 ];
67 67