Skip to content

Allow wp-login.php query variables to be filtered#3

Merged
jazzsequence merged 6 commits intomasterfrom
feature/saml-url-filters
Aug 29, 2017
Merged

Allow wp-login.php query variables to be filtered#3
jazzsequence merged 6 commits intomasterfrom
feature/saml-url-filters

Conversation

@jazzsequence
Copy link
Owner

We have a situation where we need to use unique urls for things that are currently hard-coded as query variables (specifically the assertion URL and the XML metadata urls, but the same could apply to any of the URL query variables).

This PR adds filters to each of the url query variables where they are being used so additional developers can customize the query variables (say to distinguish between dev/prod environments, which is our scenario).

Also tweaked usage of get_site_url where it was being used (specifically with reference to wp-login.php with these query variables applied) to pass the relative path to the actual get_site_url function.

================================

Discussion on base plugin here: SAML-Toolkits#35

@jazzsequence jazzsequence merged commit 40c1e7e into master Aug 29, 2017
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