Subfolder install: admin email confirmation url has subfolder duplicated

This is on 2.5.0.

The admin confirmation URL in the email has subfolder duplicated. like

I’m looking at

it appears to call something called confirm_admin_url, but I can’t find where that’s defined.

I’m not sure where to look to see if it’s a bug or some configuration issue (but this is the only place this problem is showing up).


I believe @neil fixed this (back in 2017) via:

I was not able to repro this locally though on latest version.