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