- Fixed URL regex in php7.3+
- Fixed typo in
NOT_LESS
where message pointed two times to%1$s
. - Fixed type in
MULTIPLE_ERRORS
.
- Fix "manual" loading of translation callback into global
$wp_filter
on autoload. Props @kraftner
- Nothing
- Nothing
- Fix typos in
README.md
.
- Removed unused property
$options
from classes.
- Nothing
- Fix copy-pasta error in
WordPressErrorLogger
.
- Nothing
- Nothing
- Fix wrong arguments passed to
__()
inWordPressErrorLogger
.
- Nothing
- Nothing
- Add missing, but referenced error codes in
ErrorLoggerInterface
- Updated README
composer.lock
is removed from VCS
- Simple validators:
Callback
,ClassName
,Email
,Size
,Type
andWpFilter
SecondaryValidatorInterface
and secondary validators:Negate
,Bulk
andPool
DataValidator::with_validators()
method- Unit tests for all new classes
- Avoid possible function redeclaration in case of multiple autoloaders, thanks @schlessera, see #6
- Nothing
- Nothing
- CS fixes
- General refactoring
- Decoupled messages from validators
- Deprecated
get_error_messages()
validators method - Deprecated
ArrayValue
in favor of newly addedDataValidator
- Error codes constants moved to
ErrorLoggerInterface
from single validators classes (old constants still available for BC, but usage is deprecated)
Multi
validatorDataValidator
ErrorLoggerInterface
, ErrorLogger and WordPressErrorLogger- Support for messages translation
- Initial Release.