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 | src/DonorDashboards/Shortcode.php +3 -0 2.30.04.16.9 View file →
@@ -39,12 +39,15 @@
39 39
40 40 /**
41 41 * Returns Shortcode markup
42 42 *
43 + * @since 3.6.0 Sanitize attributes
43 44 * @since 2.10.0
44 45 **/
45 46 public function renderCallback($attributes)
46 47 {
48 + $attributes = give_clean($attributes);
49 +
47 50 $attributes = shortcode_atts(
48 51 [
49 52 'accent_color' => '#68bb6c',
50 53 ],