Make WordPress Core

Ticket #24849: 24849.2.diff

File 24849.2.diff, 421 bytes (added by JustinSainton, 12 years ago)
  • wp-includes/formatting.php

     
    34283428        if ( preg_match( '/<a\s[^>]*?href=([\'"])(.+?)\1/is', $content, $matches ) )
    34293429                return esc_url_raw( $matches[2] );
    34303430
    3431         return false;
     3431        return apply_filters( 'get_url_in_content', false, $content );
    34323432}