[wp-trac] [WordPress Trac] #38379: Add server side validation class in wordpress core
WordPress Trac
noreply at wordpress.org
Thu Oct 20 08:34:54 UTC 2016
#38379: Add server side validation class in wordpress core
--------------------------------+------------------------------
Reporter: lpkapil008 | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: External Libraries | Version: trunk
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------------+------------------------------
Comment (by lpkapil008):
Hi swissspidy,
I understand your opinion. But yes in terms of validation escaping
functions are not sufficient. In complex projects we need to validation
different kind of ranges and types and need to check limits, for that
having a standard library/class is a really good option instead of using
functions or writing custom functions for checking ranges and limits etc.
About validation library valitron, We can remove the namespace to make it
compatible with PHP5.2. Validation Class always work either with namespace
or without namespace.
Also having an inbuilt validation class will be an extra feature in CMS,
instead of looking for functions and creating custom functions for complex
validations.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38379#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list