- Timestamp:
- 07/20/2023 02:44:22 AM (15 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-groups/classes/class-bp-groups-component.php
r13503 r13521 576 576 577 577 if ( ! empty( $bp->action_variables ) ) { 578 $chunks = array( $current_action, $bp->action_variables ); 578 579 $key_action_variables = 'single_item_action_variables'; 579 580 580 581 if ( bp_is_group_admin_page() ) { 581 582 $context = 'manage'; 582 } elseif ( bp_is_group_create() ) { 583 $context = 'create'; 584 $key_action_variables = 'create_single_item_variables';; 585 } 586 587 $path_chunks = bp_groups_get_path_chunks( $bp->action_variables, $context ); 583 array_shift( $chunks ); 584 } 585 586 $path_chunks = bp_groups_get_path_chunks( $chunks, $context ); 588 587 $bp->canonical_stack['action_variables'] = bp_action_variables(); 589 588
Note: See TracChangeset
for help on using the changeset viewer.