Default WordPress WP Editor removing style tags and html tag

WordPress has a user capability called unfiltered_html. Any user with the unfiltered_html capability can post any HTML they want, including <script> tags. Due to security concerns, the unfiltered_html capability is—by default—only granted to Administrators (in WordPress Multisite, it’s only granted to Super Administrators). If you need to add the unfiltered_html capability to a non-(Super-)Admin user, … Read more