Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
03/11/2012 03:54:27 PM (13 years ago)
Author:
boonebgorges
Message:

Improvements to link construction and filters in the Groups component:

  • Fixes arguments being passed to bp_groups_get_total_groups_sql filter
  • Passes additional arguments to various group link filters
  • Sweeps through link concatenation in the groups component, to ensure that bp_get_group_permalink is used wherever possible (allowing for centralized filters in plugins)
  • Corrects some inline documentation
  • Fixes the permissions logic in bp_groups_adminbar_admin_menu(), so that super admins and group admins are able to see the group-specific dropdown when using the BuddyBar
  • Fixes #4071. Props travel-junkie
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-groups/bp-groups-loader.php

    r5895 r5903  
    327327            );
    328328
    329             $group_link = trailingslashit( bp_get_root_domain() . '/' . $this->root_slug . '/' . $this->current_group->slug );
     329            $group_link = bp_get_group_permalink( $this->current_group );
    330330
    331331            // Add the "Home" subnav item, as this will always be present
Note: See TracChangeset for help on using the changeset viewer.