The Capitalism Magazine website says that, "With a long-term war in progress and threats of further terrorist attacks on American soil," Harry Potter isn't mere escapism and "shows a world in which happiness can be achieved, villains can be defeated, and the means of success can be learned."
Time magazine says that by Harry Potter and the Order of the Phoenix, "Harry is embroiled in a borderless, semi-civil war with a shadowy, hidden leader whose existence the government ignored until disaster forced the issue and who is supported by a secret network of sleeper agents willing to resort to tactics of shocking cruelty. The kids who grew up on Harry Potter—you could call them Generation Hex—are the kids who grew up with the pervasive threat of terrorism, and it's inevitable that on some level they'll make a connection between the two."
Slate Magazine's Julia Turner compares Harry Potter and the Half-Blood Prince to the current War on Terror against Osama bin Laden saying Voldemort takes up terrorism by destroying bridges, murdering innocents, and forcing children to kill their elders. She also notes the parallels in the community's response saying Fred and George Weasley's shop makes a mint selling Shield Cloaks and the new Minister of Magic jails an innocent man, hoping to stave off panic and create the impression that he's taking action.
Rowling said "I've never thought, 'It's time for a post-9/11 Harry Potter book,' no. But what Voldemort does, in many senses, is terrorism, and that was quite clear in my mind before 9/11 happened.... but there are parallels, obviously. I think one of the times I felt the parallels was when I was writing about the arrest of Stan Shunpike, you know? I always planned that these kinds of things would happen, but these have very powerful resonances, given that I believe, and many people believe, that there have been instances of persecution of people who did not deserve to be persecuted, even while we're attempting to find the people who have committed utter atrocities. These things just happen, it's human nature. There were some very startling parallels at the time I was writing it.
Read more about this topic: Politics Of Harry Potter