Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 24,003
- How-to & Troubleshooting
- 129,526
- Creating & Extending
- 25,790
- Requests & Feedback
- 9,495
- Third Party Plugins
- 9,782
- Showcase
- 3,316
- Ideas
- 1,397
- Miscellaneous
- 9,169
-
I added Andy’s bp-core-wpabstraction.php file to the bp pastebin for discussion.
http://buddypress.pastebin.com/f578203cb
I suggest *not* abstracting is_site_admin() because it’s a commonly used mechanism for detecting wpmu. if (function_exists(‘is_site_admin’)) should return true on wpmu and false on wp. I know that the abstraction file is so that we don’t have to care, but….
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS