Opened 16 years ago
Closed 16 years ago
#2150 closed defect (bug) (fixed)
bp_core_filter_parent_theme() prevents other themes from using register_theme_directory()
| Reported by: | ptahdunbar | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | Activity | Version: | |
| Severity: | Keywords: | ||
| Cc: |
Description
I have a theme that uses the register_theme_directory() function, and everything works as should. However, after a period of time (i believe when the 'theme_roots' transient expires), all theme pages blank out. To fix it, you'll need to visit an admin page.
I fixed this by calling a remove_action() on bp_core_filter_parent_theme. The function is located in bp-core.php:1986
I'm not sure that function is even needed anymore so it should be deprecated.
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
This appears to have been removed at some point as it is no longer in BP 1.2.2.1.