Posts validation in admin panel
Way of validating data unified in some places