Ticket #16996: 16996-4.diff
File 16996-4.diff, 562 bytes (added by , 13 years ago) |
---|
-
wp-includes/class-oembed.php
169 169 $provider = add_query_arg( 'maxheight', $args['height'], $provider ); 170 170 $provider = add_query_arg( 'url', urlencode($url), $provider ); 171 171 172 apply_filters( 'oembed_params_before_fetch', $provider, $url, $args ); 173 172 174 foreach( array( 'json', 'xml' ) as $format ) { 173 175 $result = $this->_fetch_with_format( $provider, $format ); 174 176 if ( is_wp_error( $result ) && 'not-implemented' == $result->get_error_code() )