• I’m updating the code of an old plugin, and have become a little stumped on 2 sanitisation issues (well, 1 sanitisation and 1 related nonce issue!)

    I need to allow the user to save a complete HTML page to the database. wp_kses() seems to be the function I need, but I’m not sure on what it doesn’t allow by default.

    I also need to secure an ajax request with a nonce, but the code uses the ajaxurl constant, and I can’t seem to find how to add a nonce to that!

    If someone could point me in the direction of some tutorials or a decent bit of documentation then that would be most appreciated.

    Thanks in advance

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘A couple of sanitisation questions’ is closed to new replies.