Changeset 21718
- Timestamp:
- 09/04/2012 03:36:19 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/formatting.php
r21292 r21718 3236 3236 */ 3237 3237 function sanitize_trackback_urls( $to_ping ) { 3238 $urls_to_ping = preg_split( '/ \r\n\t/', trim( $to_ping ), -1, PREG_SPLIT_NO_EMPTY );3238 $urls_to_ping = preg_split( '/[\r\n\t ]/', trim( $to_ping ), -1, PREG_SPLIT_NO_EMPTY ); 3239 3239 foreach ( $urls_to_ping as $k => $url ) { 3240 3240 if ( !preg_match( '#^https?://.#i', $url ) )
Note: See TracChangeset
for help on using the changeset viewer.