wordpress standards and sanitization fixes