Skip to:
Content

BuddyPress.org

Opened 15 years ago

Closed 15 years ago

#1901 closed defect (bug) (fixed)

bp_init runs before bp_core_set_uri_globals HAS-PATCH

Reported by: mrmaz's profile MrMaz Owned by:
Milestone: 1.2 Priority: major
Severity: Version:
Component: Keywords: bp_init has-patch
Cc:

Description

'bp_init' is called on 'plugins_loaded' p10, but 'bp_core_set_uri_globals' runs on 'plugins_loaded' p3 which depends on $bp->root_components. So its not possible to add a root component using 'bp_init' in time for some of the setup calls.

Attachments (4)

root_component_action.diff (481 bytes) - added by MrMaz 15 years ago.
this is so obvious
plugins_reloaded.patch (9.4 KB) - added by johnjamesjacoby 15 years ago.
Centralize plugins_loaded actions into bp-loader.php
plugins_rereloaded.patch (9.4 KB) - added by johnjamesjacoby 15 years ago.
Gonna go back in tiiiime
plugins_rerereloaded.patch (9.7 KB) - added by johnjamesjacoby 15 years ago.
This patch is a trilogy

Download all attachments as: .zip

Change History (6)

@MrMaz
15 years ago

this is so obvious

#1 @MrMaz
15 years ago

  • Keywords has-patch added
  • Summary changed from bp_init runs before bp_core_set_uri_globals to bp_init runs before bp_core_set_uri_globals HAS-PATCH

@johnjamesjacoby
15 years ago

Centralize plugins_loaded actions into bp-loader.php

@johnjamesjacoby
15 years ago

Gonna go back in tiiiime

@johnjamesjacoby
15 years ago

This patch is a trilogy

#2 @apeatling
15 years ago

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in r2656

Note: See TracTickets for help on using tickets.