Fix for deprecated function WordPress SEO by Yoast