[wp-trac] [WordPress Trac] #62721: strip_tags() is discouraged. Use the more comprehensive wp_strip_all_tags() instead.

WordPress Trac noreply at wordpress.org
Fri Dec 20 10:23:07 UTC 2024


#62721: strip_tags() is discouraged. Use the more comprehensive wp_strip_all_tags()
instead.
-------------------------------------+-------------------------------
 Reporter:  pitamdey                 |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Themes                   |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:  coding-standards
-------------------------------------+-------------------------------
Changes (by karmatosed):

 * keywords:  has-patch => has-patch needs-testing
 * component:  Bundled Theme => Themes


Comment:

 Thank you for the patch, however this feels like it's not for bundled
 themes as not on a theme specifically. Patches for bundled themes are
 meant to be specific to a theme and in your patch I do see for example
 wider fixes. This is absolutely ok but I am going to mark this for wider
 review.

 If you could provide steps for testing and anything you found in testing
 that would also be great to ease those coming to this ticket, thank you.

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


More information about the wp-trac mailing list