Changeset 33858 for trunk/src/wp-includes/formatting.php
- Timestamp:
- 09/02/2015 05:19:29 PM (10 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/formatting.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/formatting.php
r33734 r33858 3275 3275 if ( '' == $url ) 3276 3276 return $url; 3277 3278 $url = str_replace( ' ', '%20', $url ); 3277 3279 $url = preg_replace('|[^a-z0-9-~+_.?#=!&;,/:%@$\|*\'()\\x80-\\xff]|i', '', $url); 3278 3280 if ( 0 !== stripos( $url, 'mailto:' ) ) { … … 3280 3282 $url = _deep_replace($strip, $url); 3281 3283 } 3284 3282 3285 $url = str_replace(';//', '://', $url); 3283 3286 /* If the URL doesn't appear to contain a scheme, we
Note: See TracChangeset
for help on using the changeset viewer.