Skip to content

Conversation

ryanwooten6
Copy link

The original code removed all url parts but host and path in the UBP_SITEURL conditional in the get_siteurl() method. This meant when using UBP_SITEURL with auth, the auth would never get used in the get_auth method.

I've added a property called url_parts that gets assigned parsed url values before the reconstruction of the url. This way the url_parts can be used in the get_auth method without the auth being removed from the UBP_SITEURL. All other url option should continue to work with or without auth.

The original code removed all url parts but host and path in the UBP_SITEURL conditional in the get_siteurl() method. I've added a property called url_parts that gets assigned parsed url values before the reconstruction of the url. This way the url_parts can be used in the get_auth method without the auth being removed form the UBP_SITEURL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant