Theme Options Data Sanitization for Ad Code (1 post)

  1. pjpainter
    Posted 3 years ago #

    Hi all,

    I'm making a new theme, and adding a box to the theme options page to insert code containing ad network ads (like adsense) and affiliate ads.

    Does anyone know the best way to sanitize the javascript and/or html on both input and output for this kind of thing?

Topic Closed

This topic has been closed to new replies.

About this Topic