[wp-trac] [WordPress Trac] #16867: Where is it appropriate to use filter_var

WordPress Trac noreply at wordpress.org
Wed May 11 07:57:43 UTC 2022

#16867: Where is it appropriate to use filter_var
 Reporter:  aaroncampbell  |       Owner:  (none)
     Type:  enhancement    |      Status:  reopened
 Priority:  normal         |   Milestone:
Component:  General        |     Version:  3.2
 Severity:  normal         |  Resolution:
 Keywords:  westi-likes    |     Focuses:
Changes (by martin.krcho):

 * status:  closed => reopened
 * resolution:  maybelater =>


 Minimum requirements for WordPress have changed since this discussion was

 Is your opinion about using the {{{ filter_var }}} still the same, @dd32
 and @aaroncampbell? Is it perhaps time to start using this built-in PHP
 function instead of doing some of the validation and sanitisation

Ticket URL: <https://core.trac.wordpress.org/ticket/16867#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list