Changeset 45583 for trunk/src/wp-admin/includes/network.php
- Timestamp:
- 07/01/2019 12:50:14 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/network.php
r45416 r45583 83 83 */ 84 84 function get_clean_basedomain() { 85 if ( $existing_domain = network_domain_check() ) { 85 $existing_domain = network_domain_check(); 86 if ( $existing_domain ) { 86 87 return $existing_domain; 87 88 } 88 89 $domain = preg_replace( '|https?://|', '', get_option( 'siteurl' ) ); 89 if ( $slash = strpos( $domain, '/' ) ) { 90 $slash = strpos( $domain, '/' ); 91 if ( $slash ) { 90 92 $domain = substr( $domain, 0, $slash ); 91 93 } … … 186 188 } else { 187 189 $subdomain_install = false; 188 if ( $got_mod_rewrite = got_mod_rewrite() ) { // dangerous assumptions 190 $got_mod_rewrite = got_mod_rewrite(); 191 if ( $got_mod_rewrite ) { // dangerous assumptions 189 192 echo '<div class="updated inline"><p><strong>' . __( 'Note:' ) . '</strong> '; 190 193 /* translators: %s: mod_rewrite */
Note: See TracChangeset
for help on using the changeset viewer.