WordPress.org

Make WordPress Core

Changeset 5526


Ignore:
Timestamp:
05/23/07 14:58:32 (7 years ago)
Author:
rob1n
Message:

Fix bloginfo() filtering when it comes to links. Props Nazgul. fixes #4116

Files:
2 edited

Legend:

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

    r5443 r5526  
    6464     
    6565    // Don't filter URL's. 
    66     if (strpos($show, 'url') === false ||  
    67         strpos($show, 'directory') === false ||  
     66    if (strpos($show, 'url') === false && 
     67        strpos($show, 'directory') === false && 
    6868        strpos($show, 'home') === false) { 
    6969        $info = apply_filters('bloginfo', $info, $show); 
  • trunk/wp-includes/general-template.php

    r5521 r5526  
    6464     
    6565    // Don't filter URL's. 
    66     if (strpos($show, 'url') === false ||  
    67         strpos($show, 'directory') === false ||  
     66    if (strpos($show, 'url') === false && 
     67        strpos($show, 'directory') === false && 
    6868        strpos($show, 'home') === false) { 
    6969        $info = apply_filters('bloginfo', $info, $show); 
Note: See TracChangeset for help on using the changeset viewer.