• After upgrading to the latest version of WordPress SEO, I’m getting an error on my dashboard:

    Your theme contains a meta description, which blocks WordPress SEO from working properly, please delete the following line, or press fix it:
    <meta name="description" content="<?php echo $pods->data['meta_description'];?>" />

    The code that the error is referring to is wrapped in an if statement which only adds this metadata for content created outside the loop.

    How can I suppress this error without deleting this code?

    http://wordpress.org/extend/plugins/wordpress-seo/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Interesting issue, good catch! You can disable this by hooking into the theme_check option somewhere, but I can’t see where it’s even controlled.

    Okay it’s not controlled, it’s just set in a way I wasn’t expecting. The only way I see this being tweaked (right now as it is) is if you filter the wpseo option (hook into get_option) and set $options[‘theme_check’][‘description’] = true; and unset $options[‘theme_check’][‘description_found’] if it’s set in $options

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘[Plugin: WordPress SEO by Yoast] Meta Description Error Message wrong’ is closed to new replies.