Opened 9 years ago
Closed 9 years ago
#3013 closed defect (bug) (fixed)
bbp_enqueue_script() $in_footer parameter should be boolean
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 2.6 | Priority: | normal |
Severity: | normal | Version: | 2.5 |
Component: | Appearance - Theme Compatibility | Keywords: | has-patch |
Cc: |
Description
Looks like some copy-pasta made it's way into bbp_enqueue_script()
. The $in_footer
parameter should be a boolean. However, bbPress uses this parameter the same way it's used by (bbp|wp)_enqueue_style
, by passing a media query string. Attached patch updates the default value, and it's usage to a boolean. Whether on purpose, or inadvertently, our scripts where being added in the footer, so the attached patch explicitly maintains this behavior.
Related #3012
Attachments (1)
Change History (2)
Note: See
TracTickets for help on using
tickets.
In 6112: