diff --git a/wp-includes/link-template.php b/wp-includes/link-template.php
index 31bacca..e5035c8 100644
a
|
b
|
function includes_url($path = '') { |
2012 | 2012 | */ |
2013 | 2013 | function content_url($path = '') { |
2014 | 2014 | $url = WP_CONTENT_URL; |
2015 | | if ( 0 === strpos($url, 'http') && is_ssl() ) |
2016 | | $url = str_replace( 'http://', 'https://', $url ); |
| 2015 | $url = str_replace( " https://", "//", $url) |
| 2016 | $url = str_replace( " http://", "//", $url) |
2017 | 2017 | |
2018 | 2018 | if ( !empty($path) && is_string($path) && strpos($path, '..') === false ) |
2019 | 2019 | $url .= '/' . ltrim($path, '/'); |