Better WordPress 2.7 compatibility