Changeset 17995
- Timestamp:
- 05/22/2011 11:20:48 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/class-oembed.php
r17978 r17995 159 159 $args = wp_parse_args( $args, wp_embed_defaults() ); 160 160 161 $provider = add_query_arg( 'maxwidth', $args['width'], $provider );162 $provider = add_query_arg( 'maxheight', $args['height'], $provider );161 $provider = add_query_arg( 'maxwidth', (int) $args['width'], $provider ); 162 $provider = add_query_arg( 'maxheight', (int) $args['height'], $provider ); 163 163 $provider = add_query_arg( 'url', urlencode($url), $provider ); 164 164
Note: See TracChangeset
for help on using the changeset viewer.