Changes from trunk/wp-includes/class-oembed.php at r16444 to branches/3.1/wp-includes/class-oembed.php at r18019
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.1/wp-includes/class-oembed.php
r16444 r18019 166 166 $args = wp_parse_args( $args, wp_embed_defaults() ); 167 167 168 $provider = add_query_arg( 'maxwidth', $args['width'], $provider );169 $provider = add_query_arg( 'maxheight', $args['height'], $provider );168 $provider = add_query_arg( 'maxwidth', (int) $args['width'], $provider ); 169 $provider = add_query_arg( 'maxheight', (int) $args['height'], $provider ); 170 170 $provider = add_query_arg( 'url', urlencode($url), $provider ); 171 171
Note: See TracChangeset
for help on using the changeset viewer.