Ticket #19805: pingback_https_fix.patch
| File pingback_https_fix.patch, 666 bytes (added by , 14 years ago) |
|---|
-
wp-includes/comment.php
1796 1796 // Parsing the post, external links (if any) are stored in the $post_links array 1797 1797 // This regexp comes straight from phpfreaks.com 1798 1798 // http://www.phpfreaks.com/quickcode/Extract_All_URLs_on_a_Page/15.php 1799 preg_match_all("{\b http : [$any] +? (?= [$punc] * [^$any] | $)}x", $content, $post_links_temp);1799 preg_match_all("{\b https? : [$any] +? (?= [$punc] * [^$any] | $)}x", $content, $post_links_temp); 1800 1800 1801 1801 // Step 2. 1802 1802 // Walking thru the links array