Changeset 5066
- Timestamp:
- 03/21/2007 12:34:54 AM (19 years ago)
- File:
-
- 1 edited
-
branches/2.1/wp-includes/formatting.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/2.1/wp-includes/formatting.php
r4894 r5066 1073 1073 $url = str_replace($strip, '', $url); 1074 1074 $url = str_replace(';//', '://', $url); 1075 $url = ( !strstr($url, '://')) ? 'http://'.$url : $url;1075 $url = (strpos($url, '://') === false && substr( $url, 0, 1 ) != '/' ) ? 'http://'.$url : $url; 1076 1076 $url = preg_replace('/&([^#])(?![a-z]{2,8};)/', '&$1', $url); 1077 1077 if ( !is_array($protocols) )
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)