How to protect your WordPress site from problematic code in the_content

By default, WordPress lets you write basically anything in the content of a page, post, or custom post type. When you write or see the_content like this in a WordPress template: That’s likely allowing any code through. Even content that could be problematic. Problematic code would include raw iframes and JavaScript scripts. For example, let’s… Continue reading How to protect your WordPress site from problematic code in the_content