Restore WordPress 3.4.x compatibility