SingleWP: No Buddypress options in backend #1561
-
DJ Paul requested I start a topic on this so here we go.
On my fresh Single WP 2.9.1 install I checked out revision 2274 and activated BP. Everything appears to be OK except I don’t have a BuddyPress menu in the WP admin area.
I looked in the code and it appears that is_site_admin() is failing. Looking at is_site_admin() in bp-core/bp-core-wpabstraction.php, I see that it uses get_currentuserinfo(). A little googling and it appears that this function is problematic in 2.9 because of where it is defined (in /wp-includes/pluggable.php). Maybe an initialization order changed?
Anyhoo, just now I simply replaced the content of is_site_admin() with
return is_admin()
and it now shows the BuddyPress admin menu.Unfortunately, the fix isn’t this simple as get_currentuserinfo() is used a whole lot.
- The topic ‘SingleWP: No Buddypress options in backend #1561’ is closed to new replies.