[buddypress-trac] [BuddyPress] #3622: bp_get_sitewide_activity_feed_link()
buddypress-trac at lists.automattic.com
buddypress-trac at lists.automattic.com
Mon Sep 26 12:05:34 UTC 2011
#3622: bp_get_sitewide_activity_feed_link()
-------------------------------------+--------------------
Reporter: webraket | Owner:
Type: defect | Status: new
Priority: normal | Milestone: 1.5.1
Component: Activity | Version: 1.5
Severity: major | Resolution:
Keywords: has-patch needs-testing |
-------------------------------------+--------------------
Comment (by boonebgorges):
> Thanks for your great support, really fast and detailed ;)
I wish more plugin developers were in here asking questions like this :)
> Isn't it better to always use priority's lower then the default(10) in
the core?
I would like to encourage developers whose plugins are BP-dependent to use
bp_init instead, so that they can rely on our internal load order (which
is predictable) instead of the load order of items attached to init, which
will vary from installation to installation. If your only problem is
wp_ajax_ hooks, we might consider shifting the priority on our
implementation of wp_ajax_
http://buddypress.trac.wordpress.org/browser/trunk/bp-core/bp-core-
functions.php#L906 - if it fired with priority 8, for instance, your
plugin hooked to bp_init at 10 should be able to see it properly.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/3622#comment:13>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list