WordPress.org

Ready to get started?Download WordPress

Forums

WordPress SEO by Yoast
og:description missing (2 posts)

  1. dajpanspokoj
    Member
    Posted 1 year ago #

    Hi,

    I'm using WPSEO 1.4.7.

    I set my description in WP settings and Open Graph description in WPSEO settings.
    However, the og:description tag is missing form page source: http://take.ms/T0wWGP

    Can You help me solve the issue?

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

  2. silvar23
    Member
    Posted 1 year ago #

    I did some debugging an found that WPSEO_OpenGraph in class-opengraph.php calling the parent WPSEO_Frontend to fetch the metadesc but they dont have the config settings properly setup in WPSEO_OpenGraph.

    In short, I edit the code in frontend/class-opengraph.php on line 32 from:
    $this->options = get_option( 'wpseo_social' );
    to:
    $this->options = array_merge( get_wpseo_options(), get_option( 'wpseo_social' ) );

    and now it works for me. But I don't if it is the proper solution.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic