[buddypress-trac] [BuddyPress] #2270: bp_core_setup_message does not launch on most pages
buddypress-trac at lists.automattic.com
buddypress-trac at lists.automattic.com
Thu Apr 1 13:30:20 UTC 2010
#2270: bp_core_setup_message does not launch on most pages
--------------------------+-------------------------------------------------
Reporter: boonebgorges | Owner:
Type: defect | Status: new
Priority: major | Milestone: 1.2.4
Component: Core | Keywords: bp_core_setup_message, has-patch, needs-testing
--------------------------+-------------------------------------------------
Using WPMU 2.9.2, bp_core_setup_message (which handles success/error
feedback) was not firing on any pages except those related to the blog
(the front page showing recent blog entries, and the Blog tab + entries).
I wrote an arbitrary function hooked to 'wp' (as bp_core_setup_message is)
and experienced the same problem. r-a-y suggested I play with the
priority, and it turns out that by changing the priority on the actions
hooked to 'wp' to 1 or 2, they launch properly on all BP pages. A quick
search through the BP source shows that most actions attached to wp are
already given a low priority.
Patch attached.
--
Ticket URL: <http://trac.buddypress.org/ticket/2270>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list