boonebgorges / bp-groupblog

BuddyPress Groupblog
GNU General Public License v3.0
15 stars 10 forks source link

fixed bp_groupblog_get_user_role so that it gets roles for the target blog correctly #16

Closed christianwach closed 11 years ago

christianwach commented 12 years ago

Coincidentally just saw your reminder ticket:

https://github.com/boonebgorges/bp-groupblog/issues/13

Not only does the function overwrite the $blog_id global, it assumes 'wp_' as the prefix, when this is in fact $wpdb->base_prefix.

BTW, sorry about including a bunch of other commits in the pull request - have yet to figure out how to exclude them.

Cheers,

Christian

christianwach commented 11 years ago

Hey, sorry for the additions to this pull request. I thought it was closed. Still can't seem to figure out how to prevent this from happening... thanks for your patience.

/me tries "Close & Comment" button