WordPress.org

Make WordPress Core

Changeset 2935


Ignore:
Timestamp:
10/06/2005 12:04:59 AM (13 years ago)
Author:
ryan
Message:

Don't run bloginfo filters on URIs. fixes #1545 #1410 #1729

File:
1 edited

Legend:

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

    r2616 r2935  
    5959
    6060function bloginfo($show='') {
    61     $info = get_bloginfo($show);
     61  $info = get_bloginfo($show);
     62  if ( ! strstr($info, 'url') ) {
    6263    $info = apply_filters('bloginfo', $info, $show);
    63     echo convert_chars($info);
     64    $info = convert_chars($info);
     65  }
     66
     67  echo $info;
    6468}
    6569
Note: See TracChangeset for help on using the changeset viewer.