Make WordPress Core

Changeset 3746


Ignore:
Timestamp:
04/22/2006 12:27:31 AM (20 years ago)
Author:
ryan
Message:

Don't texturize home. Props Mark Jaquith and David House. fixes #2381

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0/wp-includes/template-functions-general.php

    r3557 r3746  
    6363function bloginfo($show='') {
    6464        $info = get_bloginfo($show);
    65         if ( ! (strstr($info, 'url') || strstr($info, 'directory')) ) {
     65        if (!strstr($show, 'url') && //don't filter URLs
     66                !strstr($show, 'directory') &&
     67                !strstr($show, 'home')) {
    6668                $info = apply_filters('bloginfo', $info, $show);
    6769                $info = convert_chars($info);
Note: See TracChangeset for help on using the changeset viewer.