She has to make up those days, and to be on the safe side she should feed one poor person for each day.
Shaykh Ibn Baaz (15/184) was asked:
I have a sister who for several years did not make up the fasts that she missed because of her period, because she was unaware of the ruling, especially since some of the common folk told her that she did not have to make up the fasts that she missed. What should she do?
She has to ask Allaah for forgiveness and repent to Him, and she has to fast the days that she missed and feed one poor person for each day, as was stated by a number of the companions of the Prophet (peace and blessings of Allaah be upon him). This means giving half a saa’, which is equivalent to one and a half kilograms. What some ignorant women told her about her not having to do anything does not mean that this obligation is waived. ‘Aa’ishah (may Allaah be pleased with her) said: “We were commanded to make up the missed fasts but we were not told to make up the prayers.” Agreed upon.
If another Ramadaan comes before she makes up the missed fasts, then she is sinning and she has to make up the missed fasts and repent, and also feed one poor person for each day if she is able to. If she is poor and cannot feed others then fasting and repentance is sufficient, and she does not have to feed others. If she cannot remember how many days she has to fast, she should proceed on the basis of what she thinks is most likely, and fast the days that she thinks she missed during Ramadaan, and that will be sufficient, because Allaah says (interpretation of the meaning):
“So keep your duty to Allaah and fear Him as much as you can”
The Standing Committee (10/151) was asked about an elderly woman who had reached the age of sixty, and she was unaware of the ruling on menstruation for all the years during which she used to menstruate, so she did not make up any missed Ramadaan fasts because she thought that she did not have to make them up, based on what she had heard from the common folk. The committee replied:
She has to repent to Allaah from that, because she did not ask the people of knowledge. As well as that she also has to make up the days that she did not fast, according to what she thinks is most likely to be the number of days that she missed, and she should offer expiation for each day by feeding one poor person half a saa’ of wheat, dates, rice or whatever is the staple food of the country, if she is able to do so. If she cannot feed others then she does not have to do that, and it is sufficient for her to make up the fasts.
For more information on the ruling on feeding the poor, please see question no. 26865.