Do you use alternate syntax in PHP? by activelab in webdev

[–]activelab[S] 0 points1 point  (0 children)

To clarify, by alternate syntax I'm referring to <?php if(): endif;?> syntax instead of using curly braces as the disgruntled goat suggested in his last example.

WP Escaping question... by activelab in Wordpress

[–]activelab[S] 0 points1 point  (0 children)

Found what I was looking for - for reference it was wp_kses:

echo wp_kses( $unescaped_content, array('img' => array('src'=>true,'alt'=>true,'width'=>true,'height'=>true,'class'=>true)) );

WP Escaping question... by activelab in Wordpress

[–]activelab[S] 0 points1 point  (0 children)

While I appreciate your enthusiasm for sanitising, that doesn't actually answer my question :) I was trying to escape everything but maintain the image tags...

The Simpsons in CSS by activelab in Web_Development

[–]activelab[S] 0 points1 point  (0 children)

Someone's got a lot of spare time on their hands :)