Fix regression for WordPress 3.5.x.