[wp-trac] [WordPress Trac] #63727: A new function to sanitize an array

WordPress Trac noreply at wordpress.org
Mon Jul 21 15:30:22 UTC 2025


#63727: A new function to sanitize an array
-------------------------------------------------+-------------------------
 Reporter:  davidperez                           |       Owner:  (none)
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  General                              |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-unit-tests 2nd-      |     Focuses:
  opinion                                        |
-------------------------------------------------+-------------------------
Changes (by mindctrl):

 * keywords:  has-patch => has-patch needs-unit-tests 2nd-opinion


Comment:

 This weekend I was thinking about how often I write custom functions to
 sanitize an array of data. Something like this could be useful.

 I took a quick look at the PR. It need some phpunit tests. I'm also
 requesting a 2nd opinion from some core devs about interest in taking this
 on.

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


More information about the wp-trac mailing list