Changeset 2159
- Timestamp:
- 12/03/2015 07:16:55 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/common/includes/wporg-sso/wp-plugin.php
r2158 r2159 97 97 public function login_network_site_url( $url, $path, $scheme ) { 98 98 if ( self::SSO_HOST === $this->host && preg_match( '/\/wp-login\.php$/', $this->script ) ) { 99 $url = preg_replace( '/^(https?:\/\/)[^\/]+(\/.+)$/' , '\1 login.wordpress.org\2', $url );99 $url = preg_replace( '/^(https?:\/\/)[^\/]+(\/.+)$/' , '\1'.self::SSO_HOST.'\2', $url ); 100 100 } 101 101
Note: See TracChangeset
for help on using the changeset viewer.