This commit attempted to solve this problem, but introduced a new issue where the menu items would be missing a "/" inbetween the base url and the menu item slug (eg: justintennant.me/papayablog instead of justintennant.me/papaya/blog) for sites hosted within a directory of a domain (eg: justintennant.me/papaya). I've since reverted it until I can find a more elegant solution.
This commit attempted to solve this problem, but introduced a new issue where the menu items would be missing a "/" inbetween the base url and the menu item slug (eg: justintennant.me/papayablog instead of justintennant.me/papaya/blog) for sites hosted within a directory of a domain (eg: justintennant.me/papaya). I've since reverted it until I can find a more elegant solution.