Download & Extend

Status Report show wrong jQuery version (for 1.7.x)

Project:jQuery Update
Version:6.x-2.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:needs review

Issue Summary

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.

AttachmentSize
jquery_update_wrong_version_for_1.7.x.patch.txt839 bytes

Comments

#1

Status:needs review» reviewed & tested by the community

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

#2

Priority:normal» critical
Status:reviewed & tested by the community» needs review

Please commit this patch.

AttachmentSize
1528024-2.patch 847 bytes
nobody click here