Quantcast
Channel: Topic Tag: database | WordPress.org
Viewing all articles
Browse latest Browse all 11065

Jon (Kenshino) on "Does update_post_meta() use sql prepared statements?"

$
0
0

What you should do is to sanitise the field using wp_kses. (Allows you to define the allowed html tags)

If you want to allow the standard tags that the WP Editor (TinyMCE) accepts, you can use wp_kses_post


Viewing all articles
Browse latest Browse all 11065

Trending Articles