Make WordPress Core

Changeset 5227


Ignore:
Timestamp:
04/10/2007 07:39:47 AM (18 years ago)
Author:
matt
Message:

Missing change from last commit.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/formatting.php

    r5223 r5227  
    10751075    // Append http unless a relative link starting with / or a php file.
    10761076    if ( strpos($url, '://') === false &&
    1077         substr( $url, 0, 1 ) != '/' && !preg_match('/^[a-z0-9]+?\.php/i', $url) )
     1077        substr( $url, 0, 1 ) != '/' && !preg_match('/^[a-z0-9-]+?\.php/i', $url) )
    10781078        $url = 'http://' . $url;
    10791079   
Note: See TracChangeset for help on using the changeset viewer.