The function jquery_update_get_version() once again returns zero; this time, when the variable query_update_jquery_version is set to "1.7". This isn't quite a duplicate of #410482: Status Report show wrong jQuery version, as that was really a modification to support jQuery 1.3.x, so I'm loath to keep reopening that.

This is because the header of jquery.min.js has been changed: again. Please find a patch which addresses this for both 1.3 and 1.7, by making the text " Javascript Library" (including leading space) optional in the regex.


jhedstrom’s picture

Status:Needs review» Reviewed & tested by the community

I was seeing this issue as well in the latest dev. Patch fixes the issue.

killua99’s picture

Priority:Normal» Critical
Status:Reviewed & tested by the community» Needs review
new847 bytes

Please commit this patch.