#2151 closed enhancement (fixed)
don't use global variable j in bp-themes/bp-default/_inc/globals.js for jQuery [has-patch]
Reported by: | andrew_s1 | Owned by: | |
---|---|---|---|
Milestone: | 1.2.3 | Priority: | minor |
Severity: | Version: | ||
Component: | Activity | Keywords: | has-patch |
Cc: | wordpress@… |
Description
It's just asking for trouble. People are always going to use i and j as handy counter variables, so it's not wise to rely on having j in the global namespace as an untainted jQuery object
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
(In [2861]) Change jQuery var from j to jq to avoid potential iterator conflicts. Fixes #2151 props andrew_s1