Opened 11 years ago
Closed 15 months ago
#5358 closed defect (bug) (fixed)
Add $add_root as property of $bp
Reported by: | needle | Owned by: | |
---|---|---|---|
Milestone: | 12.0.0 | Priority: | normal |
Severity: | normal | Version: | 1.9.1 |
Component: | Core | 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)
#3
@
10 years ago
- Keywords needs-patch added; dev-feedback removed
- Milestone changed from 2.1 to 2.2
#5
@
7 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.
#6
@
3 years ago
- Milestone changed from Awaiting Contributions to 11.0.0
- Owner set to espellcaste
- Status changed from new to assigned
#7
@
23 months ago
- Milestone changed from 11.0.0 to Up Next
Bumping this ticket to the next version so that I can look at this more closely. :)
#10
@
15 months ago
- Keywords needs-patch removed
- Resolution set to fixed
- Status changed from assigned to 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
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_root
doesn't do anything without thebp_core_create_root_component_page()
function.