You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently there are a bunch validate methods in class-event-rest-api.php that I'd like to move to a general validate class.
We can remove the validate_ prefix from these methods when we move them. Make them static methods, eg, validate_event_post_id method will be Validate::event_post_id.
Unit tests will need to be moved as well.
The text was updated successfully, but these errors were encountered:
Currently there are a bunch validate methods in
class-event-rest-api.php
that I'd like to move to a general validate class.We can remove the
validate_
prefix from these methods when we move them. Make them static methods, eg,validate_event_post_id
method will beValidate::event_post_id
.Unit tests will need to be moved as well.
The text was updated successfully, but these errors were encountered: