Changes between Initial Version and Version 3 of Ticket #21153
- Timestamp:
- 09/28/2014 11:43:29 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #21153 – Description
initial v3 1 changing http:// and https:// generated links to //links would easily add support for hosting a site both under http and https easily1 changing `http://` and `https://` generated links to `//` links would easily add support for hosting a site both under http and https easily 2 2 3 3 one place I've found this to be changed is in wp-includes/link-template.php around line 2006 4 4 5 5 the first if could be changed to: 6 6 {{{ 7 7 $url = str_replace( "https://", "//", $url) 8 8 $url = str_replace( "http://", "//", $url) 9 }}}