WordPress.org

Ready to get started?Download WordPress

Forums

WordPress SEO by Yoast
Make meta "description" work with translation plugins (1 post)

  1. javierllinas
    Member
    Posted 2 years ago #

    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/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

  • RSS feed for this topic
  • Started 2 years ago by javierllinas
  • This topic is not a support question
  • WordPress version: 3.3.1