Blog Archives

bypass sanitize_post from wp_insert_post

Wordpress_logo_v3-1038x576

sources: http://pp19dd.com/2010/06/unfiltered-wp_insert_post/ http://wordpress.org/support/topic/bypass-sanitize_post-from-wp_insert_post The problem: wp_insert_post() is an awesome function, but, it seems to filter HTML to unauthenticated users by calling sanitize_post().  So, if you’re logged in as an admin / editor – the function seems to operate fine. However,

Posted in Wordpress Tagged with: ,