Well, if you've ever dug into someone else's code trying to debug a problem, you've no doubt and a moment where you wondered what they were thinking at the time.
My WTF of the week stems from a Drupal module I'm using and how it manipulates some custom SQL. First, a little background for the non Drupal developers out there.