Ticket #28222: scheme-less.functions.php.patch
File scheme-less.functions.php.patch, 417 bytes (added by , 7 years ago) |
---|
-
functions.php
441 441 */ 442 442 function wp_extract_urls( $content ) { 443 443 preg_match_all( 444 "#((?: [\w-]+://?|[\w\d]+[.])[^\s()<>]+[.](?:\([\w\d]+\)|(?:[^`!()\[\]{};:'\".,<>?«»“”‘’\s]|(?:[:]\d+)?/?)+))#",444 "#((?:([\w-]+:)?//?)[^\s()<>]+[.](?:\([\w\d]+\)|(?:[^`!()\[\]{};:'\".,<>?«»“”‘’\s]|(?:[:]\d+)?/?)+))#", 445 445 $content, 446 446 $post_links 447 447 );