- Timestamp:
- 03/23/2023 07:35:38 PM (18 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-groups/classes/class-bp-group-extension.php
r13437 r13441 737 737 'slug' => $this->slug, 738 738 'parent_slug' => bp_get_current_group_slug(), 739 'parent_url' => $group_permalink,740 739 'position' => $this->nav_item_position, 741 740 'item_css_id' => 'nav-' . $this->slug, … … 960 959 } 961 960 962 $screen = $this->screens['edit']; 963 964 $position = isset( $screen['position'] ) ? (int) $screen['position'] : 10; 965 $position += 40; 966 961 $screen = $this->screens['edit']; 962 $position = isset( $screen['position'] ) ? (int) $screen['position'] : 10; 963 $position += 40; 967 964 $current_group = groups_get_current_group(); 968 $admin_link = trailingslashit( bp_get_group_permalink( $current_group ) . 'admin' );969 965 970 966 $subnav_args = array( … … 972 968 'slug' => $screen['slug'], 973 969 'parent_slug' => $current_group->slug . '_manage', 974 'parent_url' => $admin_link,975 970 'user_has_access' => bp_is_item_admin(), 976 971 'position' => $position,
Note: See TracChangeset
for help on using the changeset viewer.