WordPress.org

Plugin Directory

Changeset 587867


Ignore:
Timestamp:
08/20/12 17:05:37 (20 months ago)
Author:
donncha
Message:

Avoid W3C validator warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • polldaddy/trunk/polldaddy-org.php

    r574015 r587867  
    768768        if ( is_array( self::$scripts ) ) { 
    769769            if ( isset( self::$scripts['rating'] ) ) { 
    770                 $script = "<script type='text/javascript' charset='UTF-8' id='polldaddyRatings'><!--//--><![CDATA[//><!--\n"; 
     770                $script = "<script type='text/javascript' id='polldaddyRatings'><!--//--><![CDATA[//><!--\n"; 
    771771                foreach( self::$scripts['rating'] as $rating ) { 
    772772                    $script .= "PDRTJS_settings_{$rating['id']}{$rating['item_id']}={$rating['settings']}; if ( typeof PDRTJS_RATING !== 'undefined' ){if ( typeof PDRTJS_{$rating['id']}{$rating['item_id']} == 'undefined' ){PDRTJS_{$rating['id']}{$rating['item_id']} = new PDRTJS_RATING( PDRTJS_settings_{$rating['id']}{$rating['item_id']} );}}"; 
Note: See TracChangeset for help on using the changeset viewer.