Changeset 11126
- Timestamp:
- 04/29/2009 08:10:06 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/formatting.php
r11109 r11126 2005 2005 */ 2006 2006 if ( strpos($url, ':') === false && 2007 substr( $url, 0, 1 ) != '/' && !preg_match('/^[a-z0-9-]+?\.php/i', $url) )2007 substr( $url, 0, 1 ) != '/' && substr( $url, 0, 1 ) != '#' && !preg_match('/^[a-z0-9-]+?\.php/i', $url) ) 2008 2008 $url = 'http://' . $url; 2009 2009
Note: See TracChangeset
for help on using the changeset viewer.