Opened 15 years ago
Closed 15 years ago
#2270 closed defect (bug) (fixed)
bp_core_setup_message does not launch on most pages
Reported by: | boonebgorges | Owned by: | |
---|---|---|---|
Milestone: | 1.2.4 | Priority: | major |
Severity: | Version: | ||
Component: | Core | Keywords: | bp_core_setup_message, has-patch, needs-testing |
Cc: |
Description
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.
(In [2939]) Fixes #2270 props boonebgorges