Ticket #30580: 30580.2.diff
File 30580.2.diff, 1.2 KB (added by , 10 years ago) |
---|
-
src/wp-includes/functions.php
464 464 . "(?:" 465 465 . "\([\w\d]+\)|" 466 466 . "(?:" 467 . "[^`!()\[\]{} ;:'\".,<>«»“”‘’\s]|"467 . "[^`!()\[\]{}:'\".,<>«»“”‘’\s]|" 468 468 . "(?:[:]\d+)?/?" 469 469 . ")+" 470 470 . ")" -
tests/phpunit/tests/functions.php
418 418 'http://việtnam.icom.museum', 419 419 'ftp://127.0.0.1/', 420 420 'http://www.woo.com/video?v=exvUH2qKLTU', 421 'http://taco.com?burrito=enchilada#guac' 421 'http://taco.com?burrito=enchilada#guac', 422 'https://stuff.com/?video=123&autoplay=true', 423 'http://example.com;' 422 424 ); 423 425 424 426 $blob =" … … 481 483 http://www.woo.com/video?v=exvUH2qKLTU 482 484 483 485 http://taco.com?burrito=enchilada#guac 486 https://stuff.com/?video=123&autoplay=true 487 488 http://example.com; 484 489 "; 485 490 486 491 $urls = wp_extract_urls( $blob );