All perfect praise be to Allaah, The Lord of the Worlds. I testify that there is none worthy of worship except Allaah, and that Muhammad, sallallaahu ‘alayhi wa sallam, is His slave and Messenger.
We have already issued Fatwa 82539 clarifying that the scholars differed in opinion about the ruling on the purity of vaginal discharges; the view we adopt here in Islamweb is that they are pure if they came out of a woman’s uterus. However, they invalidate ablution in any case unless one is suffering from the incontinence of urine.
Therefore, since you had performed ablution after you had those discharges, then your prayers are valid even if these discharges remained on your clothes provided they came out of the uterus because these discharges are pure.
However, if these discharges came out from the urinary tract then in order to be on the safe side, you should wash them and make up the prayer because some scholars stated that they are impure, and this is a very strong opinion.
Allaah Knows best.