Enforce locale if Polylang is installed and activated
Add some post-related helpers
Be a little less paranoid about argument sanitization