Posted by jp.stacey on April 11, 2012 at 1:10pm
4 followers
| 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.
| Attachment | Size |
|---|---|
| jquery_update_wrong_version_for_1.7.x.patch.txt | 839 bytes |
Comments
#1
I was seeing this issue as well in the latest dev. Patch fixes the issue.
#2
Please commit this patch.