Changeset 10046
- Timestamp:
- 08/11/2015 08:04:49 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/bp-core-functions.php
r10044 r10046 2041 2041 // Parse home_url() into pieces to remove query-strings, strange characters, 2042 2042 // and other funny things that plugins might to do to it. 2043 $parsed_home = parse_url( home_url( '/', ( is_ssl() ? 'https ://' : 'http://' ) ) );2044 2045 // Maybe include the port, if it's included 2043 $parsed_home = parse_url( home_url( '/', ( is_ssl() ? 'https' : 'http' ) ) ); 2044 2045 // Maybe include the port, if it's included in home_url() 2046 2046 if ( isset( $parsed_home['port'] ) ) { 2047 2047 $parsed_host = $parsed_home['host'] . ':' . $parsed_home['port'];
Note: See TracChangeset
for help on using the changeset viewer.