| @@ -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, |