Make WordPress Core

Changeset 24810


Ignore:
Timestamp:
07/28/2013 07:07:43 PM (12 years ago)
Author:
mdawaffe
Message:

Allow HTTPS URL enclosures.

Props markjaquith with a patch that predates all WordCamps.

Fixes #2875.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/functions.php

    r24782 r24810  
    423423    $any = $ltrs . $gunk . $punc;
    424424
    425     preg_match_all( "{\b http : [$any] +? (?= [$punc] * [^$any] | $)}x", $content, $post_links_temp );
     425    preg_match_all( "{\b https? : [$any] +? (?= [$punc] * [^$any] | $)}x", $content, $post_links_temp );
    426426
    427427    foreach ( $pung as $link_test ) {
Note: See TracChangeset for help on using the changeset viewer.