mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
Fix bloginfo() filtering when it comes to links. Props Nazgul. fixes #4116
git-svn-id: http://svn.automattic.com/wordpress/trunk@5526 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
42df47a478
commit
4d9a6e1a98
@ -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