← All changes
|
src/Views/Form/Templates/Sequoia/sections/introduction.php
+2
-1
4.16.3
→
4.17.0
View file →
| @@ -1,7 +1,8 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | 3 | /** |
| 4 | + * @since 4.16.4 Escaped the introduction headline output. | |
| 4 | 5 | * @since 4.16.2 Escape introduction image URL when rendering the template. |
| 5 | 6 | */ |
| 6 | 7 | |
| 7 | 8 | use Give\Helpers\Form\Template\Utils\Frontend as FrontendFormTemplateUtils; |
| @@ -19,9 +20,9 @@ | ||
| 19 | 20 | |
| 20 | 21 | <div class="give-section introduction"> |
| 21 | 22 | <h2 class="headline"> |
| 22 | 23 | <?php |
| 23 | - echo $headline; ?> | |
| 24 | + echo esc_html($headline); ?> | |
| 24 | 25 | </h2> |
| 25 | 26 | <?php |
| 26 | 27 | if ( ! empty($description)) : ?> |
| 27 | 28 | <div class="seperator"></div> |