Better HTTPS support - fixes #2283
git-svn-id: https://develop.svn.wordpress.org/trunk@3445 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
f3a9342825
commit
07463c0755
@ -925,7 +925,7 @@ function make_url_footnote($content) {
|
||||
$link_url = $matches[2][$i];
|
||||
$link_text = $matches[4][$i];
|
||||
$content = str_replace($link_match, $link_text.' '.$link_number, $content);
|
||||
$link_url = ((strtolower(substr($link_url,0,7)) != 'http://')||(strtolower(substr($link_url,0,7)) != 'https://')) ? get_settings('home') . $link_url : $link_url;
|
||||
$link_url = ((strtolower(substr($link_url,0,7)) != 'http://') && (strtolower(substr($link_url,0,7)) != 'https://')) ? get_settings('home') . $link_url : $link_url;
|
||||
$links_summary .= "\n".$link_number.' '.$link_url;
|
||||
}
|
||||
$content = strip_tags($content);
|
||||
|
Loading…
Reference in New Issue
Block a user