Which legal distinction matters if the imam omits standing or purity during khutbah?

Friday Prayer: Conditions, Khutbah, Congregation and Related Rulings