Because Prince Lothric refused to link the flame, the future of the world is darkness.
Just because you found Iudex Gundyr impaled with a sword and full of rampant humanity, it does not mean you were the one that killed him. Any other undead may have arisen from the graves and tread this ground before, or even visited from another world as a phantom. The description of his Helm says he "was bested by an unknown warrior. He then became sheath to a coiled sword in the hopes that someday, the first flame would be linked once more." The Ashen One is far from unknown; all NPC's seem to recognize you immediately.
Gundyr himself is probably cursed as an Undead, like you, so when you slay him, you remove the humanity that corrupted him, thus freeing him to become the Champion he was meant to be. His halberd "is said to never crumble, seeming to suggest that Gundyr was fated to eternal service from the beginning", which supports the idea of his perpetual resurrection as an Undead, like you. Iudex doesn't drop a soul, implying that he wasn't truly dead, and Champion does drop his soul later on. The soul's description reads, "a champion came late to the festivities, and was greeted by a shrine without fire". So, some time passed after he was freed of the Pus of Man in which the flame was extinguished.
In this dark version of Firelink Shrine, the Coiled Sword Fragment is found where the bonfire would be. The fragment's description says that it "served its purpose long ago". So, since took the Coiled Sword that Iudex Gundyr was impaled with and placed it in Firelink, this is likely a fragment of that very sword, in the future. You also find the Eyes of a Fire Keeper here, which "reveals to the sightless Fire Keepers things that they should never see", specifically a "world without fire" according to the Fire Keeper at the light Firelink Shrine. She also hints at "thy grand betrayal", implying that you will be the one to usher in the age of darkness. Ludleth elaborates further, saying that "the eyes show a world destitute of fire, a barren plane of endless darkness". Then, he questions if your intent is to be the betrayer the Fire Keeper foresees. Finally, Ludleth explains that giving the eyes to the Fire Keeper will reveal to her "visions of… this age's end…". This age is an Age of Fire, where the Flame is lit. So, since you speak to him in the light Firelink, the Untended Graves version must be the future.
In the end, it is possible that the Untended Graves are just a vision of a potential future, where the flame is not linked.