Open resonantdoghouse opened 6 years ago
Try adding some WordPress methods to help sanitizing data.
Example methods:
The way you can use them...
<img src="<?php echo esc_url( $row['event_image'] ); ?>">
https://github.com/redacademy/wild-spring-2018/blob/8ccdd4f6db6f0e06f57f2ff812658b25f9903601/themes/wav-theme/tribe-events/single-event.php#L42
More about sanitizing data and why it's important: WP Shout XSS Attack
If you need more resources about sanitizing data, here are the lesson slides about it here
Need even more resources 🤔
Try adding some WordPress methods to help sanitizing data.
Example methods:
The way you can use them...
https://github.com/redacademy/wild-spring-2018/blob/8ccdd4f6db6f0e06f57f2ff812658b25f9903601/themes/wav-theme/tribe-events/single-event.php#L42
More about sanitizing data and why it's important: WP Shout XSS Attack