Various snippets ready for WordPress 4.0