Ticket #16996: 16996-filter.diff
File 16996-filter.diff, 645 bytes (added by , 12 years ago) |
---|
-
wp-includes/class-oembed.php
162 162 $provider = add_query_arg( 'maxwidth', (int) $args['width'], $provider ); 163 163 $provider = add_query_arg( 'maxheight', (int) $args['height'], $provider ); 164 164 $provider = add_query_arg( 'url', urlencode($url), $provider ); 165 166 $provider = apply_filters( 'oembed_fetch_url', $provider, $args, $url ); 165 167 166 168 foreach( array( 'json', 'xml' ) as $format ) { 167 169 $result = $this->_fetch_with_format( $provider, $format );