Changeset 5227
- Timestamp:
- 04/10/2007 07:39:47 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/formatting.php
r5223 r5227 1075 1075 // Append http unless a relative link starting with / or a php file. 1076 1076 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) ) 1078 1078 $url = 'http://' . $url; 1079 1079
Note: See TracChangeset
for help on using the changeset viewer.