back support to WordPress 3.5

Allow support for WordPress 3.5.