Changeset 6954
- Timestamp:
- 03/28/2018 05:22:25 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/functions.php
r6282 r6954 12 12 $domain = substr( $domain, 0, strlen( $domain ) - 1 ); 13 13 14 if ( false !== strpos( $domain, 'http://' ) ) 15 $domain = substr( $domain, 7 ); 14 #if ( false !== strpos( $domain, 'http://' ) ) 15 # $domain = substr( $domain, 7 ); 16 $domain = preg_replace( '#^https?://#i', '', $domain ); 16 17 if ( $rep_slash ) 17 18 $domain = str_replace('/', '%2F', $domain );
Note: See TracChangeset
for help on using the changeset viewer.