Ticket #2381: 2381.diff

File 2381.diff, 594 bytes (added by davidhouse, 6 years ago)
  • wp-includes/template-functions-general.php

     
    5858 
    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); 
    6466        }