WordPress.org

Support

Support » Plugins and Hacks » [Plugin: WordPress SEO by Yoast] Make meta "description" work with translation plugins

[Plugin: WordPress SEO by Yoast] Make meta "description" work with translation plugins

  • Hi all.

    Yoast SEO is still getting better. However I’d like to make a suggestion for future releases:
    In file frontend/class-frontend.php replace line 590

    echo '<meta name="description" content="'.esc_attr( strip_tags( stripslashes( $metadesc ) ) ).'"/>'."\n";

    with

    echo '<meta name="description" content="'.esc_attr( strip_tags( stripslashes( __($metadesc) ) ) ).'" />'."\n";

    so that meta “description” can be written in several languages if you are using a translation plugin (in my case, qtranslate)

    What do you think?
    Kind regards

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

  • The topic ‘[Plugin: WordPress SEO by Yoast] Make meta "description" work with translation plugins’ is closed to new replies.