WordPress.org

Support

Support » Plugins and Hacks » [Resolved] /rating_over. 404 error on webmaster tools

[Resolved] /rating_over. 404 error on webmaster tools

Viewing 4 replies - 1 through 4 (of 4 total)
  • I think I found a solution, we need to change the following code:

    if($postratings_custom) {
    		for($i = 1; $i <= $postratings_max; $i++) {
    			$postratings_javascript .= 'var ratings_'.$i.'_mouseover_image=new Image();ratings_'.$i.'_mouseover_image.src=ratingsL10n.plugin_url+"/images/"+ratingsL10n.image+"/rating_'.$i.'_over."+ratingsL10n.image_ext;';
    		}
    	} else {
    		$postratings_javascript = 'var ratings_mouseover_image=new Image();ratings_mouseover_image.src=ratingsL10n.plugin_url+"/images/"+ratingsL10n.image+"/rating_over."+ratingsL10n.image_ext;';

    }

    by this one:

    if($postratings_custom) {
    		for($i = 1; $i <= $postratings_max; $i++) {
    			$postratings_javascript .= 'var ratings_'.$i.'_mouseover_image=new Image();ratings_'.$i.'_mouseover_image.src="'.plugins_url().'/wp-postratings/images/"+ratingsL10n.image+"/rating_'.$i.'_over."+ratingsL10n.image_ext;';
    		}
    	} else {
    		$postratings_javascript = 'var ratings_mouseover_image=new Image();ratings_mouseover_image.src="'.plugins_url().'/wp-postratings/images/"+ratingsL10n.image+"/rating_over."+ratingsL10n.image_ext;';
    	}

    Please VERIFY it… and maybe release this on the next version.

    I’m getting the same issue on my site. Did this fix the problem for you?

    Plugin Author Lester Chan

    @gamerz

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] /rating_over. 404 error on webmaster tools’ is closed to new replies.