Opened 13 years ago
Closed 3 years ago
#5358 closed defect (bug) (fixed)
Add $add_root as property of $bp
| Reported by: | needle | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 12.0.0 |
| Component: | Core | Version: | 1.9.1 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
In bp-core-functions.php, line 504 in the bp_core_add_root_component() function throws "Indirect modification of overloaded property" notice, similarly to https://buddypress.trac.wordpress.org/ticket/5305
Change History (10)
#5
@
9 years ago
Unless these two are dynamically called and named, I'm not seeing them used anywhere in core at the moment.
More than willing to be wrong.
#7
@
4 years ago
- Milestone 11.0.0 → Up Next
Bumping this ticket to the next version so that I can look at this more closely. :)
#10
@
3 years ago
- Keywords needs-patch removed
- Resolution → fixed
- Status assigned → closed
This function has been deprecated in 12.0 and is now only available from the BP Classic plugin. I’ll work on this issue from there: https://github.com/buddypress/bp-classic/issues/11
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
It seems to me that we shouldn't even need
$bp->add_root.We should merge the
bp_core_add_root_component()andbp_core_create_root_component_page()functions together since$bp->add_rootdoesn't do anything without thebp_core_create_root_component_page()function.