[wp-trac] [WordPress Trac] #62697: Replace strip_tags() with wp_strip_all_tags() for improved security and consistency.

WordPress Trac noreply at wordpress.org
Tue Dec 17 05:14:38 UTC 2024


#62697: Replace strip_tags() with wp_strip_all_tags() for improved security and
consistency.
-----------------------------+------------------------------
 Reporter:  vishalpadhariya  |       Owner:  (none)
     Type:  enhancement      |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  General          |     Version:  trunk
 Severity:  normal           |  Resolution:
 Keywords:  needs-patch      |     Focuses:
-----------------------------+------------------------------

Comment (by vishalpadhariya):

 "I am assigning this ticket to myself to replace the usage of
 `strip_tags()` with `wp_strip_all_tags()` for better security and
 adherence to WordPress coding standards. I will review the code, make the
 necessary changes, and ensure compatibility."

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/62697#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list