Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Integrate wp2.7 and bbp1.0a2


John James Jacoby
Keymaster

@johnjamesjacoby

It seems like there are several issues here, and I’m not sure which is really the issue or which is a bug…

Firstly, when integrated, bbPress wants to use the WordPress classes and functions where possible. Namely, the problem with capabilities lies currently with the difference in the WP_User->has_cap function.

On the WordPress side of it, it is missing the global $wp_roles; and the corresponding check of those roles against the current capability to check.

$caps = call_user_func_array( array(&$wp_roles, 'map_meta_cap'), $args );

So I’m not sure if this is just a case of bbPress not keeping up with the WordPress user/role classes, or if this is WordPress not properly carrying over bbPress capabilities.

Ugh…

Skip to toolbar