Skip to content

Commit

Permalink
fix: wrong website url when using a custom directory for WP install
Browse files Browse the repository at this point in the history
fix: wrong website url when using a custom directory for WP install
  • Loading branch information
fabiano-mallmann authored Jan 7, 2025
2 parents c1b8a91 + a68a086 commit 3034249
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Helper/Utils.php
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ public static function get_admin_url($path = '')
*/
public static function get_site_url($path = '')
{
return esc_url(get_site_url(null, $path));
return esc_url(get_home_url(null, $path));
}

/**
Expand Down

0 comments on commit 3034249

Please sign in to comment.