Yours is really not a plumbing question. It is something that a general contractor or good carpenter could address. As far as the plumbing is involved, you may assume that there was a leak that soaked the floorboards and caused them to discolor. Now that they are apparently dry, you may assume that you have fixed the leak. Your question then becomes “Has the wooden floor been significantly weakened by their exposure to the water leak?”
Wood can sustain a certain amount of wetting without loss of structural integrity. What causes wood to lose integrity is “rot” which is an infestation with wood-eating fungus. Such fungus requires a certain combination of temperature (warm) and moisture (high) and time (long) to do its damage. Staining is the first indication that fungus has (at some time) taken hold in wood.
A competent home inspector has the tools to check the condition of your floor. I advise you to call one in to look at it. The cost should be less than $300.