[wp-trac] [WordPress Trac] #11980: oembed not respecting Media -> Maximum embed size -> height
WordPress Trac
wp-trac at lists.automattic.com
Fri Jan 22 22:26:13 UTC 2010
#11980: oembed not respecting Media -> Maximum embed size -> height
---------------------------+------------------------------------------------
Reporter: philipsoutham | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Unassigned
Component: Media | Version: 2.9.1
Severity: major | Keywords:
---------------------------+------------------------------------------------
When adding an oauth provider that is not in the current whitelist, via
the following code in functions.php
{{{
#!php
add_action('init', 'movieclips_embeds');
function movieclips_embeds() {
wp_oembed_add_provider(
'#http://(www\.)?movieclips.com/watch/[\w]+/[\w]+/#i',
'http://movieclips.com/services/oembed/' , true);
}
}}}
The Maximum embed size "height" paramter (set in settings->media) seems to
be ignored, sending a value of 700 to the provider unless explicitly set
in the embed short tag. Please see attached screenshots for demonstration
of bug to aid in my explanation.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11980>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list