I was a wedding planner at one time. Yes, it's bad form to wear white to a wedding, unless the bride is wearing a color other than white.
Honestly, if I were you, I would call or email those girls and inform them of their gaffe, in a nice way. Not everyone has been taught what is right, and most people are happy to have the advice.