-
Committer:
boonebgorges
-
Date:
2019-03-11 18:58:06 UTC
-
Revision ID:
svn-v4:cdf35c40-ae34-48e0-9cc9-0c9da1808c22:trunk:12356
Improve wp-login and wp-signup redirects.
This changeset restores the following intended behavior:
1. On non-Multisite, redirect from wp-login.php?action=register to the BP account registration page
2. On Multisite, redirect from wp-signup.php to the BP "Create a Site" page when the wp-signup.php is intended to trigger new site creation and the Blogs component is enabled
3. On Multisite, redirect from wp-signup.php to BP's registration in other cases
Props imath.
Fixes #6178. Fixes #8038.