[wp-trac] [WordPress Trac] #16867: Where is it appropriate to use filter_var
WordPress Trac
wp-trac at lists.automattic.com
Wed Mar 16 17:03:37 UTC 2011
#16867: Where is it appropriate to use filter_var
---------------------------+------------------------------
Reporter: aaroncampbell | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Resolution:
Keywords: 2nd-opinion |
---------------------------+------------------------------
Comment (by aaroncampbell):
Replying to [comment:1 scribu]:
I'm not sure that's a fair assessment. We obviously use a TON of PHP
functions without much worry as to dealing with PHPs bugs, and when PHP
bugs have plagued us we've dealt with them. If we can say that this
particular function (or some of it's specific filters) are considerably
more prone to bugs, or even that there are several versions of PHP that we
will be supporting with known issues, then maybe we could justify ignoring
them. I just want to make sure we've considered their possible advantages
such as red-lining the whole is_email function.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16867#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list