Make WordPress Core

Changeset 3681


Ignore:
Timestamp:
04/03/2006 03:04:39 AM (18 years ago)
Author:
ryan
Message:

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

File:
1 edited

Legend:

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

    r3676 r3681  
    5959function bloginfo($show='') {
    6060    $info = get_bloginfo($show);
    61     if ( ! (strstr($info, 'url') || strstr($info, 'directory')) ) {
     61    if (!strstr($show, 'url') && //don't filter URLs
     62        !strstr($show, 'directory') &&
     63        !strstr($show, 'home')) {
    6264        $info = apply_filters('bloginfo', $info, $show);
    6365        $info = convert_chars($info);
Note: See TracChangeset for help on using the changeset viewer.