this isn't some run of the mill hack. It is the official recommended implementation from wordpress
We've discussed the many deficiencies in that "standard issue" Wordpress code many times before, the last being only a few weeks ago. Do not use that code in its present form.
Widespread problem: Just because a particular set of rules is built into or recommended by some big name CMS doesn't mean it's good code. Every time I think I've seen the worst, along comes someone quoting a rule that makes me shed even bigger tears. Heck, Apache itself has been known* to give examples containing "(.*)exact-text-here" -- and I don't mean examples of What Not To Do.
* Known to me, at least. If I ever find a specimen again I'll bookmark it.