Changeset 9182 for sites/trunk/common/includes/wporg-sso/bb-plugin.php
- Timestamp:
- 10/15/2019 07:23:53 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/common/includes/wporg-sso/bb-plugin.php
r3166 r9182 35 35 // Redirect registration request to the one we want to standardize on. 36 36 if ( "https://{$this->host}{$this->script}" !== $this->sso_signup_url ) { 37 $this->_safe_redirect( $this->sso_signup_url );37 $this->_safe_redirect( $this->sso_signup_url, 301 ); 38 38 } 39 39 } else if ( preg_match( '/\/bb-login\.php$/', $this->script ) ) { … … 57 57 58 58 // Redirect to SSO login, trying to pass on a decent redirect_to request. 59 $this->_safe_redirect( $redirect_to_sso_login );59 $this->_safe_redirect( $redirect_to_sso_login, 301 ); 60 60 } 61 61 }
Note: See TracChangeset
for help on using the changeset viewer.