WordPress.org

Support

Support » Plugins and Hacks » Validation errors due to multiple span ID's

Validation errors due to multiple span ID's

  • Hi,

    I noticed a lot of validation errors due to the fact that quote-rotator-class.php adds ID’s instead of classes for the spans “quote” and “quoteauthor” (line 109)

    This is easy to fix by replacing

    foreach($results as $result){
    echo "\"$openquote<span id='quote'>$result->quote</span>$closequote";
    if($result->author != '')
    echo " <span id='quoteauthor'>$result->author</span>";
    echo "\",\n";

    with

    foreach($results as $result){
    echo "\"$openquote<span class='quote'>$result->quote</span>$closequote";
    if($result->author != '')
    echo " <span class='quoteauthor'>$result->author</span>";
    echo "\",\n";

    http://wordpress.org/extend/plugins/flexi-quote-rotator/

  • The topic ‘Validation errors due to multiple span ID's’ is closed to new replies.