• I use wp postratings plugin and when i check my site with w3 validator it get 2 errors for this plugin scripts.
    how can i make it true?

    it’s the errors :

    Error HTML5 Validator Error
            Line 289, column 45: Stray start tag script.
    
            </body></html><script type='text/javascript'>
    
            Line 289, column 45: Cannot recover after last error. Any further errors will be ignored.
    
            </body></html><script type='text/javascript'>

    and it’s the source code :

    </body></html><script type='text/javascript'>
    /* <![CDATA[ */
    var ratingsL10n = {"plugin_url":"http:\/\/rokesh.ir\/wp-content\/plugins\/wp-postratings","ajax_url":"http:\/\/rokesh.ir\/wp-admin\/admin-ajax.php","text_wait":"Please rate only 1 post at a time.","image":"stars_crystal","image_ext":"gif","max":"5","show_loading":"0","show_fading":"1","custom":"0"};
    var ratings_mouseover_image=new Image();ratings_mouseover_image.src=ratingsL10n.plugin_url+"/images/"+ratingsL10n.image+"/rating_over."+ratingsL10n.image_ext;;
    /* ]]> */
    </script>
    <script type='text/javascript' src='http://rokesh.ir/wp-content/plugins/wp-postratings/postratings-js.js'></script>

    http://wordpress.org/plugins/wp-postratings/

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘wp postratings and w3 validator Errors’ is closed to new replies.