When building the css and js URL, if there are no extra options for wp-minify, the URL has an extra & in it, and when the newly added "m" parameter is added to this url, the URL is broken like this:
http://....../f=js_to_minify.js&&m=123456
To avoid this, in check_and_split_url function, the following part:
else {
return array($base_url . '?f=' . urlencode(implode(',', $files)) . $debug_url);
}
should be changed like this:
else {
if ( !empty($wpm_options['extra_minify_options']) )
return array($base_url . '?f=' . implode(',', $files) . $debug_url . '&' . $wpm_options['extra_minify_options']);
else
return array($base_url . '?f=' . implode(',', $files)) . $debug_url;
}