#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: | |
|---|---|---|---|
| Priority: | minor | Milestone: | 1.2.3 |
| Component: | Activity | Version: | |
| Severity: | 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
(In [2861]) Change jQuery var from j to jq to avoid potential iterator conflicts. Fixes #2151 props andrew_s1