You're blaming the developer -- are you so sure it was their fault?
"No, don't worry about that, just get it done, we'll fix it later." (ever head "management" say that?)
There are certainly enough less-experienced developers who would not see the problem and I agree a "good" developer probably would have noticed the issue (though not necessarily been empowered to fix it), but it's not just the developer's failure here..."management", the testing team, other developers...nobody noticed? That's as much a failure of the team as it was the developer of the code.