[buddypress-trac] [BuddyPress] #3132: Wrapper function for BP_ROOT_BLOG checks
buddypress-trac at lists.automattic.com
buddypress-trac at lists.automattic.com
Mon Apr 4 21:57:03 UTC 2011
#3132: Wrapper function for BP_ROOT_BLOG checks
---------------------------+-------------------------------------
Reporter: boonebgorges | Owner: boonebgorges
Type: enhancement | Status: new
Priority: minor | Milestone: 1.3
Component: Core | Version: 1.2.8
Resolution: | Keywords: has-patch needs-testing
---------------------------+-------------------------------------
Comment (by boonebgorges):
Ah, I see what you mean :) Yeah, it doesn't hurt to pass $wpdb->blogid in
the filter, but I tend not to do that when it's a value that's available
in the global (just because it gets messy).
I'll repatch and commit tomorrow unless someone has objections. Then I can
go back and refactor the BP_ROOT_BLOG/current blog checks throughout BP to
make them use the new function.
--
Ticket URL: <https://trac.buddypress.org/ticket/3132#comment:4>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list