Skip to content

Commit

Permalink
Use group slug as suggested site slug when creating a Portfolio.
Browse files Browse the repository at this point in the history
  • Loading branch information
boonebgorges committed May 29, 2024
1 parent 191f318 commit 79ac6c5
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions lib/group-funcs.php
Original file line number Diff line number Diff line change
Expand Up @@ -220,12 +220,7 @@ function openlab_group_site_markup() {
}
$user_blogs = array_values( $user_blogs );

if ( $group_type->get_is_portfolio() ) {
$portfolio_user_id = openlab_get_user_id_from_portfolio_group_id( $the_group_id );
$suggested_path = openlab_suggest_portfolio_path( $portfolio_user_id );
} else {
$suggested_path = groups_get_current_group()->slug;
}
$suggested_path = groups_get_current_group()->slug;

?>
<style type="text/css">
Expand Down

0 comments on commit 79ac6c5

Please sign in to comment.