Skip to:
Content

BuddyPress.org

Changes between Initial Version and Version 1 of Ticket #3622, comment 10


Ignore:
Timestamp:
09/25/2011 09:55:15 PM (14 years ago)
Author:
webraket
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #3622, comment 10

    initial v1  
    11Replying to [comment:7 boonebgorges]:
    2 > The patch 3622.02 is attached to this ticket. If you're reading this in an email, click through to it.
    3 >
    4 > > Sorry, I don't trust bp_init at the moment.
    5 >
    6 > bp_init is itself hooked to init. http://buddypress.trac.wordpress.org/browser/trunk/bp-core/bp-core-hooks.php#L17
    7 >
    8 > > you can't add actions to wp_ajax{callback_function} from inside classes/functions hooked to bp_init.
    9 >
    10 > Load order was changed in 1.5, so you may be right. I suggest that you load your base class at bp_loaded. This is what the new BP Skeleton Component will recommend when it comes out in the upcoming days: https://github.com/boonebgorges/buddypress-skeleton-component/blob/1.5-compat/includes/bp-example-loader.php#L364
     2>I suggest that you load your base class at bp_loaded. This is what the new BP Skeleton Component will recommend when it comes out in the upcoming days
    113
    124bp_loaded is hooked to plugins_loaded, that seems a bit too early.