Fix for WordPress 3.9.