WP-2879 Removed commented out code from validate function.