Skip to:

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#2478 closed defect (fixed)

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

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



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
8 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
8 years ago

In 5181:

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

#3 @johnjamesjacoby
8 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
8 years ago

Good! :)

Note: See TracTickets for help on using tickets.