tested with wp 3.5.x