Codex

Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Talk:Function Reference/add meta box

Proper Sanitization in Examples?

I wonder wether the first example lacks sanitizing of user input to avoid cross site scripting (e.g. to bypass the user permissions)?


The examples now seem to be using proper sanitization (esc_attr(), sanitize_text_field()).
Jdgrimes 20:01, 25 August 2013 (UTC)