WordPress.org

Ready to get started?Download WordPress

Forums

GD Star Rating
Error When Remove Version Query Strings (1 post)

  1. solitary1510
    Member
    Posted 2 years ago #

    function _remove_script_version( $src ){
    	$parts = explode( '?', $src );
    	return $parts[0];
    }
    add_filter( 'script_loader_src', '_remove_script_version', 15, 1 );
    add_filter( 'style_loader_src', '_remove_script_version', 15, 1 );

    When I use this code to remove version query strings from css and js files, GD Star Rating Not Shown. Any way to remove version query string but GD Star Rating still work.

    Thanks for answer

    http://wordpress.org/extend/plugins/gd-star-rating/

    [ Please do not bump. That's not permitted here. ]

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic