Skip to content

Commit

Permalink
Fix - Wrong myaccount endpoints url
Browse files Browse the repository at this point in the history
  • Loading branch information
salimshrestha98 committed Aug 8, 2023
1 parent a958ec7 commit d88d2dc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions includes/functions-ur-page.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ function ur_get_page_id( $page ) {
}
} elseif ( $page > 0 && class_exists( 'SitePress', false ) ) {
$page = ur_get_wpml_page_language( $page );
} else {
$page = $page_id;
}

return $page ? absint( $page ) : - 1;
Expand Down

0 comments on commit d88d2dc

Please sign in to comment.