Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Buddypress.org needs a common place to share code snippets


Burt Adsit
Participant

@burtadsit

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….

Skip to toolbar