WordPress.org

Make WordPress Core

Changeset 24499


Ignore:
Timestamp:
06/21/2013 07:32:36 PM (7 years ago)
Author:
nacin
Message:

3.5.2 - include [24498].

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tags/3.5.2/wp-includes/class-http.php

    r24483 r24499  
    121121        if ( $r['reject_unsafe_urls'] )
    122122            $url = wp_http_validate_url( $url );
    123         $url = wp_kses_bad_protocol( $url, array( 'http', 'https', 'ssl' ) );
     123        if ( function_exists( 'wp_kses_bad_protocol' ) )
     124            $url = wp_kses_bad_protocol( $url, array( 'http', 'https', 'ssl' ) );
    124125
    125126        $arrURL = @parse_url( $url );
Note: See TracChangeset for help on using the changeset viewer.