Skip to:
Content

bbPress.org

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#2478 closed defect (bug) (fixed)

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

Reported by: sgr33n Owned by: johnjamesjacoby
Priority: normal Milestone: 2.5
Component: General Version: 2.1
Severity: normal 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
13 years ago

  • Milestone Awaiting Review → 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
13 years ago

In 5181:

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

#3 @johnjamesjacoby
13 years ago

  • Owner set to johnjamesjacoby
  • Resolution → fixed
  • Status new → 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
13 years ago

Good! :)

Note: See TracTickets for help on using tickets.