#1843 closed defect (bug) (fixed)
Theme compatibility issue
Reported by: | gorgoglionemeister | Owned by: | |
---|---|---|---|
Milestone: | 2.1 | Priority: | normal |
Severity: | normal | Version: | 2.0 |
Component: | Appearance - Theme Compatibility | Keywords: | |
Cc: |
Description
When the user requests ?post_type=forum the template loader searches for archive-forum.php in the STYLESHEETPATH dir, in the TEMPLATEPATH dir and, finally, in the bbp_get_theme_compat_dir() dir. In the case archive-forum.php is only in the bbp_get_theme_compat_dir() dir, why this file isn't loaded? The template loader loads the current theme's page.php file. Is it correct?
Change History (2)
#2
in reply to:
↑ 1
@
12 years ago
Replying to johnjamesjacoby:
Try the latest revision in the plugin branch; should be fixed now.
At the revision 3941 it doesn't seem to be fixed. If I'm not wrong, when bbp_template_include triggers, bbp_template_include_theme_supports() returns the path to the archive-forum.php file in the bbp-theme-compat dir (which is correct), but bbp_template_include_theme_compat() fallbacks to page.php in the current theme's dir.
Try the latest revision in the plugin branch; should be fixed now.