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

WordPress Trac noreply at wordpress.org
Thu May 12 19:00:10 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 close  |     Focuses:

Comment (by aaroncampbell):

 Replying to [comment:18 desrosj]:
 > I personally think this should just be closed out as one of those things
 WordPress can't realistically rely on without more consistency upstream,
 and a change in the project's PHP version support policy to only support
 versions that are actively maintained upstream (security).

 I agree with this recommendation. I think our PHP version support policy,
 while having many benefits, precludes us from using these without taking
 on the unsustainable burden of version-specific compat fallbacks.

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

More information about the wp-trac mailing list