Fix bloginfo() filtering when it comes to links. Props Nazgul. fixes #4116
git-svn-id: https://develop.svn.wordpress.org/trunk@5526 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
4c2f2563a9
commit
7a394a909e
@ -63,8 +63,8 @@ function bloginfo($show='') {
|
||||
$info = get_bloginfo($show);
|
||||
|
||||
// Don't filter URL's.
|
||||
if (strpos($show, 'url') === false ||
|
||||
strpos($show, 'directory') === false ||
|
||||
if (strpos($show, 'url') === false &&
|
||||
strpos($show, 'directory') === false &&
|
||||
strpos($show, 'home') === false) {
|
||||
$info = apply_filters('bloginfo', $info, $show);
|
||||
$info = convert_chars($info);
|
||||
|
Loading…
Reference in New Issue
Block a user