- fixed getting permalink for profile tab if permalinks settings are disabled;

This commit is contained in:
Mykyta Synelnikov
2023-06-29 13:50:47 +03:00
parent 628038a57f
commit 84ea062a1f
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1691,7 +1691,7 @@ function um_profile_menu( $args ) {
<?php foreach ( $tabs as $id => $tab ) {
$nav_link = UM()->permalinks()->get_current_url( get_option( 'permalink_structure' ) );
$nav_link = UM()->permalinks()->get_current_url( UM()->is_permalinks );
$nav_link = remove_query_arg( 'um_action', $nav_link );
$nav_link = remove_query_arg( 'subnav', $nav_link );
$nav_link = add_query_arg( 'profiletab', $id, $nav_link );