Skip to:
Content

bbPress.org

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#2478 closed defect (bug) (fixed)

Using a customized theme based reply.js & topic.js doesn't work

Reported by: sgr33n's profile sgr33n Owned by: johnjamesjacoby's profile johnjamesjacoby
Milestone: 2.5 Priority: normal
Severity: normal Version: 2.1
Component: General Keywords:
Cc:

Description

Hi,

If you use reply.js and topic.js files inside your own theme, bbPress loads them correctly, but js doesn't work at all.

i.e. /wp-content/themes/yourtheme/js/topic.js

Change History (4)

#1 @johnjamesjacoby
11 years ago

  • Milestone changed from Awaiting Review to 2.5

Interesting. bbPress doesn't know to load those scripts; it only enqueues styles at the moment.

Moving to 2.5 to fix this inconsistency.

#2 @johnjamesjacoby
11 years ago

In 5181:

Introduce functions to enqueue scripts and styles according to the template stack. See #2478.

#3 @johnjamesjacoby
11 years ago

  • Owner set to johnjamesjacoby
  • Resolution set to fixed
  • Status changed from new to closed

In 5183:

Update default theme compatibility bbpress-functions.php to use new bbp_enqueue_style() and bbp_enqueue_script() functions. Enhances style and script loading behavior to be compatible with bbPress's template stack. Fixes #2478.

#4 @sgr33n
11 years ago

Good! :)

Note: See TracTickets for help on using tickets.