WordPress.org

Ready to get started?Download WordPress

Forums

Gigya - Social Infrastructure
[Plugin: Gigya Socialize - Increase Registration and Engagement] Invalid W3C Markup Validation (1 post)

  1. bamajr
    Member
    Posted 3 years ago #

    The W3C validation shows an [Invalid] Markup error when validating a page using the most recent version of the "gigya-socialize-for-wordpress" WordPress plug-in.

    Bad value for attribute media on element link: Media query ended prematurely

    The error should be simple enough to fix.

    The error is located in the gs-for-wordpress.php file, below the section commented as:

    /**
    * Outputs the gigya script link to the blog header. Using this instead of wp_enqueue_script because the gigya script
    * doesn't like getting called with a version parameter like WordPres appends.
    *
    */

    The error appears on the line:

    echo "<link rel='stylesheet' href='{$this->pluginFolder}/resources/gs-for-wordpress.css?ver={$this->version}' type='text/css' media='' />";

    The null "media" value is not recognized.

    May want to fix that.

    http://wordpress.org/extend/plugins/gigya-socialize-for-wordpress/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic