I’m sending the content of a custom post type in a plain text email (it’s […]
Tag: sanitization
What is the difference between strip_tags and wp_filter_nohtml_kses?
What is the difference between strip_tags and wp_filter_nohtml_kses. I tried to figure wp_filter_nohtml_kses from the […]
What is the difference between esc_html and wp_filter_nohtml_kses?
What is the exact difference between esc_html and wp_filter_nohtml_kses. Everywhere I look says that both […]
Sanitizing search data for use with WP_Query
I’m using heavily-customised WordPress to drive a fishkeeping website. I have two separate search areas: […]
Sanitatizing when using the posts_where hook
I am altering the WordPress query, using the posts_where hook, when a (custom) query variable […]
Should HTML output be passed through esc_html() AND wp_kses()?
I’m confused about the different uses of esc_html() and wp_kses(). I understand that esc_html() converts […]
Data sanitization for user registration and user login
What kinds of data sanitization I have to do if I make a front end […]
wordpress sanitize array?
I have a custom post form that sends data to a page which uses wp_insert_post […]
How safe / sanitized is wp_insert_posts()?
Looking at the Codex for wp_insert_post() it states that this function “…sanitizes variables, does some […]
Is sanitize_title enough to generate post slugs?
I want to generate slug for some strings without going through WordPress slug generation flow. […]
No More Posts Available.
No more pages to load.