BP_Group_Extension - Adding Navigation Item
|Reported by:||andrewteg||Owned by:||DJPaul|
|Component:||Core||Keywords:||BP_Group_Extension, nav_item, group extension api|
I have found that group extension api is no longer functioning properly when upgrading to 1.2.6 in regards to creating navigation items for a group. In 22.214.171.124, the sample code to create new group tabs (attached) properly displays "My Group Extension" for all users, even logged out users. However, in 1.2.6, it only shows for an admin user. This is using the sample code from the codex at http://codex.buddypress.org/developer-docs/group-extension-api/ and the referenced loader file "out of the box" without any modification. I first created a forum post today at http://buddypress.org/community/groups/creating-extending/forum/topic/starting-out-with-bp_group_extension/ before I was able to verify it is indeed a bug. Below were my steps to recreate this bug:
Log of Actions
Install WP 3.0.1
Active BP Default Theme
Active My Plugin (bp_plugin)
Create Subscriber Level User
View as admin = OK on both versions!
View as Subscriber = Tab Missing on 1.2.6, OK on 126.96.36.199!