Changeset 18019
- Timestamp:
- 05/24/2011 03:54:07 PM (13 years ago)
- Location:
- branches/3.1
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.1
-
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.