PluginProbe
GiveWP – Donation Plugin and Fundraising Platform / 3.6.0
GiveWP – Donation Plugin and Fundraising Platform v3.6.0
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 2.31.0 2.31.1 All 253 releases
← All changes | src/MultiFormGoals/MultiFormGoal/Shortcode.php +1 -4 4.16.53.6.0 View file →
@@ -25,16 +25,13 @@
25 25
26 26 /**
27 27 * Returns Shortcode markup
28 28 *
29 - * @since 3.7.0 Sanitize attributes
30 29 * @since 3.0.3 Use static function on array_map callback to pass the id as reference for _give_redirect_form_id to prevent warnings on PHP 8.0.1 or plus
31 30 * @since 2.9.0
32 31 **/
33 32 public function renderCallback($attributes)
34 33 {
35 - $attributes = give_clean($attributes);
36 -
37 34 $attributes = $this->parseAttributes(
38 35 [
39 36 'ids' => [],
40 37 'tags' => [],
@@ -42,9 +39,9 @@
42 39 'goal' => '1000',
43 40 'enddate' => '',
44 41 'color' => '#28c77b',
45 42 'heading' => 'Example Heading',
46 - 'image' => GIVE_PLUGIN_URL . 'build/assets/dist/images/onboarding-preview-form-image.min.jpg',
43 + 'image' => GIVE_PLUGIN_URL . 'assets/dist/images/onboarding-preview-form-image.min.jpg',
47 44 'summary' => 'This is a summary.',
48 45
49 46 ],
50 47 $attributes,