WordPress.org

Make WordPress Core

Ticket #11029: 11029.patch

File 11029.patch, 569 bytes (added by miqrogroove, 8 years ago)
  • wp-includes/functions.php

     
    11881188        }
    11891189
    11901190        foreach ( (array) $post_links_temp[0] as $link_test ) {
    1191                 if ( !in_array( $link_test, $pung ) ) { // If we haven't pung it already
     1191                if ( !in_array( $link_test, $pung ) && 'http://' !== $link_test ) { // If we haven't pung it already
    11921192                        $test = parse_url( $link_test );
    11931193                        if ( isset( $test['query'] ) )
    11941194                                $post_links[] = $link_test;