Changeset 28882 for trunk/src/wp-includes/functions.php
- Timestamp:
- 06/28/2014 04:15:30 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/functions.php
r28858 r28882 442 442 function wp_extract_urls( $content ) { 443 443 preg_match_all( 444 "#((?:[\w-]+://?|[\w\d]+[.])[^\s()<>]+[.](?:\([\w\d]+\)|(?:[^`!()\[\]{};:'\".,<>?«»“”‘’\s]|(?:[:]\d+)?/?)+))#", 444 "#(" 445 . "(?: ([\w-]+:)?//? )" 446 . "[^\s()<>]+" 447 . "[.]" 448 . "(?:" 449 . "\([\w\d]+\) |" 450 . "(?:" 451 . "[^`!()\[\]{};:'\".,<>?«»“”‘’\s] |" 452 . "(?: [:]\d+ )?/?" 453 . ")+" 454 . ")" 455 . ")#x", 445 456 $content, 446 457 $post_links
Note: See TracChangeset
for help on using the changeset viewer.